[Scummvm-cvs-logs] scummvm master -> d582c8492ce5ef300e24358c80bf0adadcfd11f0
eriktorbjorn
eriktorbjorn at telia.com
Sun Mar 22 12:23:41 CET 2015
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:
d582c8492c SCUMM: Fix argc check in Cmd_Script()
Commit: d582c8492ce5ef300e24358c80bf0adadcfd11f0
https://github.com/scummvm/scummvm/commit/d582c8492ce5ef300e24358c80bf0adadcfd11f0
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-03-22T12:22:30+01:00
Commit Message:
SCUMM: Fix argc check in Cmd_Script()
Changed paths:
engines/scumm/debugger.cpp
diff --git a/engines/scumm/debugger.cpp b/engines/scumm/debugger.cpp
index 2b718b2..0ebea94 100644
--- a/engines/scumm/debugger.cpp
+++ b/engines/scumm/debugger.cpp
@@ -256,7 +256,7 @@ bool ScummDebugger::Cmd_Hide(int argc, const char **argv) {
bool ScummDebugger::Cmd_Script(int argc, const char** argv) {
int scriptnum;
- if (argc < 2) {
+ if (argc < 3) {
debugPrintf("Syntax: script <scriptnum> <command>\n");
return true;
}
More information about the Scummvm-git-logs
mailing list