1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Wide char could be bigger than 0xffff

This commit is contained in:
Witold Filipczyk 2006-07-18 20:33:34 +02:00 committed by Witold Filipczyk
parent 3126078f51
commit 8c3f931ff0

View File

@ -459,7 +459,7 @@ utf_8_to_unicode(unsigned char **string, unsigned char *end)
break; break;
} }
*string = str + length; *string = str + length;
return u > 0xffff ? '*' : u; return u;
} }
#endif /* CONFIG_UTF_8 */ #endif /* CONFIG_UTF_8 */