mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Wide char could be bigger than 0xffff
This commit is contained in:
parent
3126078f51
commit
8c3f931ff0
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user