Commit in reactos/lib/kernel32/misc on MAIN | |||
mbchars.c | +2 | -2 | 1.4 -> 1.5 |
Hack to translate Ascii chars 128-255 to Unicode too
diff -u -r1.4 -r1.5 --- mbchars.c 7 Aug 2003 04:03:23 -0000 1.4 +++ mbchars.c 4 Apr 2004 17:59:23 -0000 1.5 @@ -1,4 +1,4 @@
-/* $Id: mbchars.c,v 1.4 2003/08/07 04:03:23 royce Exp $
+/* $Id: mbchars.c,v 1.5 2004/04/04 17:59:23 gvg Exp $
* */ #include <windows.h>
@@ -141,7 +141,7 @@
w++, cchConverted++) {
- *w = (WCHAR)*r;
+ *w = (WCHAR)(unsigned char) *r;
} /* * Return how many characters we