changeset 633:e3c4d8e28695

Adjust options help width check, it was off-by-one.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Jan 2020 17:02:06 +0200
parents 553db886533e
children c09b068ecb32
files th_args.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/th_args.c	Fri Jan 17 20:08:55 2020 +0200
+++ b/th_args.c	Mon Jan 20 17:02:06 2020 +0200
@@ -222,7 +222,7 @@
                 next++, wlen++);
 
             // Check if we have too much of text?
-            if (linelen + wlen >= width)
+            if (linelen + wlen > width)
                 break;
 
             // Print what we have