Skip to content

Commit

Permalink
GLK: Pass picNum to format() for the pic%d.rect case as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Torbjörn Andersson committed Jul 30, 2019
1 parent 041132f commit f1e79aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/glk/debugger.cpp
Expand Up @@ -75,7 +75,7 @@ bool Debugger::cmdDumpPic(int argc, const char **argv) {
} else {
debugPrintf("Could not find specified picture\n");
}
} else if (f.exists(Common::String::format("pic%d.rect"))) {
} else if (f.exists(Common::String::format("pic%d.rect", picNum))) {
debugPrintf("Picture is only a placeholder rectangle\n");
} else if (f.open(Common::String::format("pic%d.raw", picNum))) {
// Raw picture
Expand Down

0 comments on commit f1e79aa

Please sign in to comment.