X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/49dcbd9216f3513ec11731a41d4b73acaacb5949..1b96e9580714d7a677d10a8e286b3f8a2bddc6f5:/src/execute.gperf diff --git a/src/execute.gperf b/src/execute.gperf index bf9a080..51443ba 100644 --- a/src/execute.gperf +++ b/src/execute.gperf @@ -1,6 +1,6 @@ %{ /* - * Copyright © 2021 Nick Bowler + * Copyright © 2021, 2023-2024 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include #include "cdecl99.h" @@ -72,7 +72,7 @@ static int run_cmd_help(void) int w; w = printf(" %s", stringpool+c->name); - if (w < 0 || w > 13) { + if (w <= 0 || w > 13) { putchar('\n'); w = 0; }