From 8b09b67366b6fbf658b3b96442ca584df8684aad Mon Sep 17 00:00:00 2001 From: Misha Bunte Date: Fri, 18 Oct 2024 21:18:59 +0200 Subject: [PATCH] Fix offset --- cli/cmdlineparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index bc10a92fdc9..d2e10b8ce91 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -927,7 +927,7 @@ CmdLineParser::Result CmdLineParser::parseFromArgs(int argc, const char* const a } // User macro file with multiple define statements in it - else if (std::strncmp(argv[i], "--macro-file=", 8) == 0) { + else if (std::strncmp(argv[i], "--macro-file=", 13) == 0) { if (!loadMacroFile(13 + argv[i])) { return Result::Fail;