- RTF reader doesn't use RichEdit messages anymore (which saves on
unnecessary repaints)
- added unicode character support to RTF import (like: \u12345 ?)
- small fixes
- fixed whitespace identification bug
- removed drawing of paragraph marks
- improved stub implementations for IRichEditOle
diff --git a/dlls/riched20/string.c b/dlls/riched20/string.c
index c18fa1d..42ba34c 100644
--- a/dlls/riched20/string.c
+++ b/dlls/riched20/string.c
@@ -112,7 +112,7 @@
{
/* FIXME multibyte */
WCHAR *pos = s->szData;
- while(*pos++ == ' ')
+ while(ME_IsWSpace(*pos++))
;
pos--;
if (*pos)
@@ -126,12 +126,12 @@
/* FIXME multibyte */
WCHAR *pos = s->szData;
WCHAR ch;
- while(*pos++ == L' ')
+ while(ME_IsWSpace(*pos++))
;
pos--;
while((ch = *pos++) != 0)
{
- if (ch == L' ')
+ if (ME_IsWSpace(*pos++))
return 1;
}
return 0;