[Scummvm-cvs-logs] SF.net SVN: scummvm:[50957] scummvm/trunk/engines/sci/console.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sat Jul 17 14:37:04 CEST 2010


Revision: 50957
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50957&view=rev
Author:   wjpalenstijn
Date:     2010-07-17 12:37:02 +0000 (Sat, 17 Jul 2010)

Log Message:
-----------
SCI: Fix 'parse' debug command parameter handling

Modified Paths:
--------------
    scummvm/trunk/engines/sci/console.cpp

Modified: scummvm/trunk/engines/sci/console.cpp
===================================================================
--- scummvm/trunk/engines/sci/console.cpp	2010-07-17 12:06:31 UTC (rev 50956)
+++ scummvm/trunk/engines/sci/console.cpp	2010-07-17 12:37:02 UTC (rev 50957)
@@ -1176,8 +1176,9 @@
 	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]);
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list