]> git.draconx.ca Git - dxcommon.git/blobdiff - src/help.c
help_print_optstring: Better output on some old systems.
[dxcommon.git] / src / help.c
index 3886c272ac6e4cd5145b4f17462f66a28ccee9f0..a635a15c879785ff1d7b931a99de3199ac38eca7 100644 (file)
@@ -183,7 +183,7 @@ no_translate:
                w = printf(fmt, opt->name, argname);
        }
 out:
-       if (w < 0 || w > l) {
+       if (w <= 0 || w > l) {
                putchar('\n');
                return 0;
        }