[Scummvm-git-logs] scummvm master -> f1e79aae73fd4878021ff0f3a27469e1ffa01541

eriktorbjorn eriktorbjorn at telia.com
Tue Jul 30 16:57:21 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f1e79aae73 GLK: Pass picNum to format() for the pic%d.rect case as well.


Commit: f1e79aae73fd4878021ff0f3a27469e1ffa01541
    https://github.com/scummvm/scummvm/commit/f1e79aae73fd4878021ff0f3a27469e1ffa01541
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2019-07-30T16:56:37+02:00

Commit Message:
GLK: Pass picNum to format() for the pic%d.rect case as well.

Changed paths:
    engines/glk/debugger.cpp


diff --git a/engines/glk/debugger.cpp b/engines/glk/debugger.cpp
index 2f13f6b..5978ddb 100644
--- a/engines/glk/debugger.cpp
+++ b/engines/glk/debugger.cpp
@@ -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





More information about the Scummvm-git-logs mailing list