aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-01-27 17:27:51 +0000
committerFilippos Karapetis2009-01-27 17:27:51 +0000
commit1d04e168aea927e142f297cced9a9189440c4883 (patch)
tree17e53501526b99bf74fc3de69bdf6e36a3dcb15f /engines
parenta359f7c1da3e0b6dd08a7e7cb779c417ca5fd8f2 (diff)
downloadscummvm-rg350-1d04e168aea927e142f297cced9a9189440c4883.tar.gz
scummvm-rg350-1d04e168aea927e142f297cced9a9189440c4883.tar.bz2
scummvm-rg350-1d04e168aea927e142f297cced9a9189440c4883.zip
Fixed bug #2538838 - "Wrong accented char. in italian fan version [Regression]"
svn-id: r36101
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/font.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp
index ab73f07968..97903f7bee 100644
--- a/engines/saga/font.cpp
+++ b/engines/saga/font.cpp
@@ -342,7 +342,10 @@ void Font::outFont(const FontStyle &drawFont, const char *text, size_t count, co
// It doesn't make any difference for the English version of IHNM.
// Fixes bug #1796045: "IHNM: Spanish font wrong".
if (!(flags & kFontDontmap) && _vm->getGameId() == GID_ITE) {
- c_code = translateChar(c_code);
+ // Don't do any special font mapping for the Italian fan
+ // translation of ITE
+ if (_vm->getLanguage() != Common::IT_ITA)
+ c_code = translateChar(c_code);
}
} else if (_fontMapping == 1) {
// Force font mapping