about summary refs log tree commit diff
path: root/src/ctype/wcwidth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype/wcwidth.c')
-rw-r--r--src/ctype/wcwidth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctype/wcwidth.c b/src/ctype/wcwidth.c
index 49c40eea..36256a53 100644
--- 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-0xe0100U < 0xef)
 		return 0;
 	return 1;
 }