*Core: Fixed glitch in FromUtf8 (concerning heavily malformed utf8 sequences)

git-svn-id: svn://ultimatepp.org/upp/trunk@2801 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-10-19 22:24:21 +00:00
parent 2913bc6bce
commit 7444a49013

View file

@ -2353,7 +2353,7 @@ WString FromUtf8(const char *_s, int len)
if(code < 0x80)
*t++ = code;
else
if(code < 0xC0)
if(code < 0xC2)
*t++ = 0xEE00 + code;
else
if(code < 0xE0) {