[Scummvm-cvs-logs] SF.net SVN: scummvm:[40394] scummvm/trunk/engines/sci/engine/kstring.cpp

waltervn at users.sourceforge.net waltervn at users.sourceforge.net
Sat May 9 00:44:26 CEST 2009


Revision: 40394
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40394&view=rev
Author:   waltervn
Date:     2009-05-08 22:44:26 +0000 (Fri, 08 May 2009)

Log Message:
-----------
SCI: Fix return value of GetMessage.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kstring.cpp

Modified: scummvm/trunk/engines/sci/engine/kstring.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kstring.cpp	2009-05-08 21:25:56 UTC (rev 40393)
+++ scummvm/trunk/engines/sci/engine/kstring.cpp	2009-05-08 22:44:26 UTC (rev 40394)
@@ -799,7 +799,7 @@
 		if (buffer)
 			state.getText(buffer, 255);
 
-		return make_reg(0, *buffer);
+		return argv[3];
 	} else {
 		return NULL_REG;
 	}


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