This commit is contained in:
Learath 2018-12-08 00:06:54 +01:00
parent 0c13c8cebb
commit 40d7b03f10

View file

@ -2808,7 +2808,7 @@ int str_utf8_encode(char *ptr, int chr)
int str_utf16le_encode(char *ptr, int chr) int str_utf16le_encode(char *ptr, int chr)
{ {
uf(chr < 0x10000) if(chr < 0x10000)
{ {
ptr[0] = chr; ptr[0] = chr;
ptr[1] = chr >> 0x8; ptr[1] = chr >> 0x8;