aboutsummaryrefslogtreecommitdiff
path: root/lib/linestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/linestack.c')
-rw-r--r--lib/linestack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/linestack.c b/lib/linestack.c
index b06c97e7..cc6b6724 100644
--- a/lib/linestack.c
+++ b/lib/linestack.c
@@ -88,7 +88,7 @@ int crunch_str(char **str, int width, FILE *out,
for (end = start = *str; *end;) {
wchar_t wc;
- if (width>=0 && columns+lowlen>width) break;
+ if (columns+lowlen>width) break;
bytes = mbrtowc(&wc, end, 99, 0);
if (bytes<0 || wc<32 || (col = wcwidth(wc))<0) {