Commit in reactos/lib/msvcrt/stdlib on MAIN | |||
wctomb.c | +2 | 1.3 -> 1.4 |
Handle characters outside first page
diff -u -r1.3 -r1.4 --- wctomb.c 11 Jul 2003 21:58:09 -0000 1.3 +++ wctomb.c 19 Mar 2004 22:59:23 -0000 1.4 @@ -47,6 +47,8 @@
#else if (dst == NULL) { return 1;
+ } else if (0 != (ch & 0xff00)) { + return -1;
} *dst = ch; return 1;