mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Handle characters outside first page
svn path=/trunk/; revision=8801
This commit is contained in:
parent
c082e0250f
commit
896376d3c1
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,8 @@ int wctomb(char* dst, wchar_t ch)
|
||||||
#else
|
#else
|
||||||
if (dst == NULL) {
|
if (dst == NULL) {
|
||||||
return 1;
|
return 1;
|
||||||
|
} else if (0 != (ch & 0xff00)) {
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
*dst = ch;
|
*dst = ch;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue