From 77c2e7f59eefc7b05fe9492ccfe9d789dca85c6e Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Mon, 15 May 2023 23:20:28 +0200 Subject: [PATCH] Fix chvideomode(1) --max- option parsing. --- utils/chvideomode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/chvideomode.c b/utils/chvideomode.c index 965e58ab..7e81998d 100644 --- a/utils/chvideomode.c +++ b/utils/chvideomode.c @@ -221,7 +221,7 @@ bool minmax_parameter(const char* option, } #define MINMAX_PARAMETER(option, min_result, max_result) \ - minmax_parameter("--" option, "--min-" option, "--max" option, arg, \ + minmax_parameter("--" option, "--min-" option, "--max-" option, arg, \ argc, argv, &i, argv0, min_result, max_result) bool bool_parameter(const char* option,