Skip to content

Commit

Permalink
libc: wcwidth: latest UCD data
Browse files Browse the repository at this point in the history
  • Loading branch information
klange committed Dec 28, 2023
1 parent 194dfa5 commit 0f02ba3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libc/wchar/wcwidth.c
Original file line number Diff line number Diff line change
Expand Up @@ -872,8 +872,6 @@ int wcwidth(wchar_t wc) {
else if (wc < 0x2f00) return -1;
else if (wc < 0x2fd6) return 2;
else if (wc < 0x2ff0) return -1;
else if (wc < 0x2ffc) return 2;
else if (wc < 0x3000) return -1;
else if (wc < 0x302a) return 2;
else if (wc < 0x302e) return 0;
else if (wc < 0x303f) return 2;
Expand All @@ -889,7 +887,7 @@ int wcwidth(wchar_t wc) {
else if (wc < 0x318f) return 2;
else if (wc < 0x3190) return -1;
else if (wc < 0x31e4) return 2;
else if (wc < 0x31f0) return -1;
else if (wc < 0x31ef) return -1;
else if (wc < 0x321f) return 2;
else if (wc < 0x3220) return -1;
else if (wc < 0x3248) return 2;
Expand Down

0 comments on commit 0f02ba3

Please sign in to comment.