[Scummvm-cvs-logs] SF.net SVN: scummvm: [29420] scummvm/trunk/engines/queen/command.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Nov 5 18:11:48 CET 2007


Revision: 29420
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29420&view=rev
Author:   thebluegr
Date:     2007-11-05 09:11:47 -0800 (Mon, 05 Nov 2007)

Log Message:
-----------
Don't show a space after the "give" command in the Greek fan translated version of FOTAQ

Modified Paths:
--------------
    scummvm/trunk/engines/queen/command.cpp

Modified: scummvm/trunk/engines/queen/command.cpp
===================================================================
--- scummvm/trunk/engines/queen/command.cpp	2007-11-05 17:10:32 UTC (rev 29419)
+++ scummvm/trunk/engines/queen/command.cpp	2007-11-05 17:11:47 UTC (rev 29420)
@@ -81,8 +81,8 @@
 		if (_vm->resource()->getLanguage() != Common::GR_GRE) {
 			sprintf(temp, "%s %s", _command, name);
 		} else {
-			// don't show a space after the goto command in the Greek version
-			if (_command[1] != -34)
+			// don't show a space after the goto and give commands in the Greek version
+			if (_command[1] != -34 && !(_command[1] == -2 && strlen(_command) > 5))
 				sprintf(temp, "%s %s", _command, name);
 			else
 				sprintf(temp, "%s%s", _command, name);
@@ -122,8 +122,8 @@
 		if (_vm->resource()->getLanguage() != Common::GR_GRE) {
 			strcat(_command, " ");
 		} else {
-			// don't show a space after the goto command in the Greek version
-			if (_command[1] != -34)
+			// don't show a space after the goto and give commands in the Greek version
+			if (_command[1] != -34 && !(_command[1] == -2 && strlen(_command) > 5))
 				strcat(_command, " ");
 		}
 		strcat(_command, objName);


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