Skip to content

Commit

Permalink
Fix last map.json file being ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinRichards committed Sep 19, 2024
1 parent f214df9 commit 4e0a4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mapjson/mapjson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ int main(int argc, char *argv[]) {
vector<string> filepaths;
const int firstMapFileArg = 3;
const int lastMapFileArg = argc - 2;
for (int i = firstMapFileArg; i < lastMapFileArg; i++) {
for (int i = firstMapFileArg; i <= lastMapFileArg; i++) {
filepaths.push_back(argv[i]);
}
string output_file(argv[argc - 1]);
Expand Down

0 comments on commit 4e0a4ec

Please sign in to comment.