aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/dialogue_menu.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-03-21 10:07:59 +0200
committerThanasis Antoniou2019-03-21 10:10:23 +0200
commit8fa1bf8cbdd516c8120d5861c20f729a07c0812e (patch)
tree231497e5f83495fc91107700b657dabd1165e225 /engines/bladerunner/dialogue_menu.cpp
parent9b47d340b955c2bea7f033c88e69403ce4a82cca (diff)
downloadscummvm-rg350-8fa1bf8cbdd516c8120d5861c20f729a07c0812e.tar.gz
scummvm-rg350-8fa1bf8cbdd516c8120d5861c20f729a07c0812e.tar.bz2
scummvm-rg350-8fa1bf8cbdd516c8120d5861c20f729a07c0812e.zip
BLADERUNNER: Support of localizations that use E as languageCode
Improved alignment of subtitles option for Russian version The text for the subtitles option probably won't make sense though in Russian, someone will have to correct it to what it should be.
Diffstat (limited to 'engines/bladerunner/dialogue_menu.cpp')
-rw-r--r--engines/bladerunner/dialogue_menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/dialogue_menu.cpp b/engines/bladerunner/dialogue_menu.cpp
index c3aced0c73..6339fa1ef6 100644
--- a/engines/bladerunner/dialogue_menu.cpp
+++ b/engines/bladerunner/dialogue_menu.cpp
@@ -119,7 +119,7 @@ bool DialogueMenu::addToList(int answer, bool done, int priorityPolite, int prio
#else
// fix spelling or entry id 1020 to DRAGONFLY JEWELRY in English version
const char *answerTextCP = _textResource->getText(answer);
- if (_vm->_languageCode == "E" && answer == 1020 && strcmp(answerTextCP, "DRAGONFLY JEWERLY") == 0) {
+ if (_vm->_language == Common::EN_ANY && answer == 1020 && strcmp(answerTextCP, "DRAGONFLY JEWERLY") == 0) {
answerTextCP = "DRAGONFLY JEWELRY";
}
const Common::String &text = answerTextCP;