summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-11-08 10:51:03 +0000
committerPeter Stephenson <pws@zsh.org>2016-11-08 10:51:03 +0000
commit1683371fa5be3bd038ee5c73fe53dcab8809204e (patch)
tree4c913abb9cd7296c6849bf3163d860a539a686e2 /Src/utils.c
parent68a576bc552af1a5484fda9d5e28eff7ca5a2364 (diff)
downloadzsh-1683371fa5be3bd038ee5c73fe53dcab8809204e.tar.gz
zsh-1683371fa5be3bd038ee5c73fe53dcab8809204e.tar.xz
zsh-1683371fa5be3bd038ee5c73fe53dcab8809204e.zip
unposted: follow up to 39867: don't need test against zero
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c
index d73110a3e..93e757ce8 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -5341,7 +5341,7 @@ mb_metastrlenend(char *ptr, int width, char *eptr)
 	    inchar = *ptr;
 	ptr++;
 
-	if (complete && (inchar >= 0 && STOUC(inchar) <= STOUC(0x7f))) {
+	if (complete && STOUC(inchar) <= STOUC(0x7f)) {
 	    /*
 	     * We rely on 7-bit US-ASCII as a subset, so skip
 	     * multibyte handling if we have such a character.