projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wide printf forms ignoring width for %lc format specifier
[musl]
/
src
/
ctype
/
wcwidth.c
diff --git
a/src/ctype/wcwidth.c
b/src/ctype/wcwidth.c
index
49c40ee
..
36256a5
100644
(file)
--- a/
src/ctype/wcwidth.c
+++ b/
src/ctype/wcwidth.c
@@
-23,7
+23,7
@@
int wcwidth(wchar_t wc)
return -1;
if (wc-0x20000U < 0x20000)
return 2;
- if (wc == 0xe0001 || wc-0xe0020U < 0x5f || wc-0xe0100 < 0xef)
+ if (wc == 0xe0001 || wc-0xe0020U < 0x5f || wc-0xe0100
U
< 0xef)
return 0;
return 1;
}