Handle characters outside first page

svn path=/trunk/; revision=8801
This commit is contained in:
Gé van Geldorp 2004-03-19 22:59:23 +00:00
parent c082e0250f
commit 896376d3c1

View file

@ -47,6 +47,8 @@ int wctomb(char* dst, wchar_t ch)
#else
if (dst == NULL) {
return 1;
} else if (0 != (ch & 0xff00)) {
return -1;
}
*dst = ch;
return 1;