mirror of
https://github.com/rkd77/elinks.git
synced 2025-10-21 19:54:04 -04:00
Wide char could be bigger than 0xffff
This commit is contained in:
committed by
Witold Filipczyk
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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user