1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -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;
}
*string = str + length;
return u > 0xffff ? '*' : u;
return u;
}
#endif /* CONFIG_UTF_8 */