Skip to content

Commit

Permalink
Fix offset
Browse files Browse the repository at this point in the history
  • Loading branch information
mishabunte committed Oct 18, 2024
1 parent d83c2f4 commit 8b09b67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmdlineparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8b09b67

Please sign in to comment.