aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
diff options
context:
space:
mode:
authorEugene Sandulenko2015-11-19 00:51:44 +0100
committerEugene Sandulenko2015-11-19 00:51:44 +0100
commitefaf82c66e4f1b502acae2b349a9491ccb9cf744 (patch)
tree987d024ff672704c9fbc730278458e7de46bd919 /engines/sword25/util
parentdbb473752b0f64dc328c681889f59c99d4dc5ee5 (diff)
downloadscummvm-rg350-efaf82c66e4f1b502acae2b349a9491ccb9cf744.tar.gz
scummvm-rg350-efaf82c66e4f1b502acae2b349a9491ccb9cf744.tar.bz2
scummvm-rg350-efaf82c66e4f1b502acae2b349a9491ccb9cf744.zip
SWORD25: Fix Hungarian version support
Diffstat (limited to 'engines/sword25/util')
-rw-r--r--engines/sword25/util/lua/scummvm_file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/util/lua/scummvm_file.cpp b/engines/sword25/util/lua/scummvm_file.cpp
index c38aba004f..bdceff0c0c 100644
--- a/engines/sword25/util/lua/scummvm_file.cpp
+++ b/engines/sword25/util/lua/scummvm_file.cpp
@@ -183,7 +183,7 @@ Common::String Sword25FileProxy::getLanguage() {
case Common::FR_FRA:
return "fr";
case Common::HU_HUN:
- return "hr";
+ return "hu";
case Common::IT_ITA:
return "it";
case Common::PL_POL:
@@ -210,7 +210,7 @@ void Sword25FileProxy::setLanguage(const Common::String &lang) {
ConfMan.set("language", Common::getLanguageCode(Common::ES_ESP));
else if (lang == "fr")
ConfMan.set("language", Common::getLanguageCode(Common::FR_FRA));
- else if (lang == "hr")
+ else if (lang == "hu")
ConfMan.set("language", Common::getLanguageCode(Common::HU_HUN));
else if (lang == "it")
ConfMan.set("language", Common::getLanguageCode(Common::IT_ITA));