mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-13 23:18:16 +00:00
fixed incorrect utfsize
This commit is contained in:
parent
a47be2f89f
commit
1c0db70191
@ -61,7 +61,7 @@ int utfsize(char c) {
|
||||
unsigned char cu = c;
|
||||
if(cu < 128) return 1;
|
||||
if(cu < 224) return 2;
|
||||
if(cu < 0xE0) return 3;
|
||||
if(cu < 0xF0) return 3;
|
||||
return 4;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user