changeset 2423:8d057a2459e3

Adjust options help width check, it was off-by-one.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 20 Jan 2020 17:01:45 +0200
parents ba8b44cd313b
children 3b28868475e8
files src/dmargs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dmargs.c	Fri Jan 17 22:07:00 2020 +0200
+++ b/src/dmargs.c	Mon Jan 20 17:01:45 2020 +0200
@@ -221,7 +221,7 @@
                 next++, wlen++);
 
             // Check if we have too much of text?
-            if (linelen + wlen >= width)
+            if (linelen + wlen > width)
                 break;
 
             // Print what we have