fixed incorrect utfsize

This commit is contained in:
Zeno Rogue 2019-09-13 19:36:27 +02:00
parent a47be2f89f
commit 1c0db70191
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}