diff options
author | Willem Jan Palenstijn | 2010-07-17 12:37:02 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-07-17 12:37:02 +0000 |
commit | 1d31c278e6234d9624d4698aef9c9e3da8ea8ee1 (patch) | |
tree | 7031a11511d74d6270203115408cfa98182c130a | |
parent | e000d2865450090d28f6a72608b963ece6435d4a (diff) | |
download | scummvm-rg350-1d31c278e6234d9624d4698aef9c9e3da8ea8ee1.tar.gz scummvm-rg350-1d31c278e6234d9624d4698aef9c9e3da8ea8ee1.tar.bz2 scummvm-rg350-1d31c278e6234d9624d4698aef9c9e3da8ea8ee1.zip |
SCI: Fix 'parse' debug command parameter handling
svn-id: r50957
-rw-r--r-- | engines/sci/console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index f04954f631..0fec80fe1c 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -1176,8 +1176,9 @@ bool Console::cmdParse(int argc, const char **argv) { char string[1000]; // Construct the string - strcpy(string, argv[2]); + strcpy(string, argv[1]); for (int i = 2; i < argc; i++) { + strcat(string, " "); strcat(string, argv[i]); } |