From 70aa7d3f742d0a0803593ef488b51044e5a59a79 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 5 Nov 2007 17:11:47 +0000 Subject: Don't show a space after the "give" command in the Greek fan translated version of FOTAQ svn-id: r29420 --- engines/queen/command.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/queen/command.cpp') diff --git a/engines/queen/command.cpp b/engines/queen/command.cpp index 48cef3173b..de4cbc8317 100644 --- a/engines/queen/command.cpp +++ b/engines/queen/command.cpp @@ -81,8 +81,8 @@ void CmdText::displayTemp(InkColor color, const char *name, bool outlined) { 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 @@ void CmdText::addObject(const char *objName) { 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); -- cgit v1.2.3