Zac Brown : ntdll: Remove byte reversed U+3000 (CJK space) from being checked in RtlIsTextUnicode.

Alexandre Julliard julliard at winehq.org
Fri Jul 18 06:45:53 CDT 2008


Module: wine
Branch: master
Commit: 38f6dbc55ac0f3e85b4e9ff06c0048b1e6807270
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=38f6dbc55ac0f3e85b4e9ff06c0048b1e6807270

Author: Zac Brown <zac at zacbrown.org>
Date:   Thu Jul 17 16:01:02 2008 -0700

ntdll: Remove byte reversed U+3000 (CJK space) from being checked in RtlIsTextUnicode.

---

 dlls/ntdll/rtlstr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/rtlstr.c b/dlls/ntdll/rtlstr.c
index 60cd888..0e98588 100644
--- a/dlls/ntdll/rtlstr.c
+++ b/dlls/ntdll/rtlstr.c
@@ -1593,7 +1593,7 @@ NTSTATUS WINAPI RtlFindCharInUnicodeString(
 BOOLEAN WINAPI RtlIsTextUnicode( LPCVOID buf, INT len, INT *pf )
 {
     static const WCHAR std_control_chars[] = {'\r','\n','\t',' ',0x3000,0};
-    static const WCHAR byterev_control_chars[] = {0x0d00,0x0a00,0x0900,0x2000,0x0030,0};
+    static const WCHAR byterev_control_chars[] = {0x0d00,0x0a00,0x0900,0x2000,0};
     const WCHAR *s = buf;
     int i;
     unsigned int flags = ~0U, out_flags = 0;




More information about the wine-cvs mailing list