about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/utils.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4409e6ea2..fc51df7d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2016-11-08  Peter Stephenson  <p.stephenson@samsung.com>
 
+	* unposted: Src/utils.c: follow up to 39867: don't need test
+	against zero any more.
+
 	* Sebastian: 39869: can transfer ownership of core of array when
 	assigning.
 
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.