aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/command.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-11-05 17:11:47 +0000
committerFilippos Karapetis2007-11-05 17:11:47 +0000
commit70aa7d3f742d0a0803593ef488b51044e5a59a79 (patch)
treeddf7c14e2bd1fe212ead8219dfe9d41418519b7e /engines/queen/command.cpp
parentbc391e48f02124789e6f7aaf8a917420bacd902d (diff)
downloadscummvm-rg350-70aa7d3f742d0a0803593ef488b51044e5a59a79.tar.gz
scummvm-rg350-70aa7d3f742d0a0803593ef488b51044e5a59a79.tar.bz2
scummvm-rg350-70aa7d3f742d0a0803593ef488b51044e5a59a79.zip
Don't show a space after the "give" command in the Greek fan translated version of FOTAQ
svn-id: r29420
Diffstat (limited to 'engines/queen/command.cpp')
-rw-r--r--engines/queen/command.cpp8
1 files changed, 4 insertions, 4 deletions
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);