aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2008-06-08 22:11:18 +0000
committerEugene Sandulenko2008-06-08 22:11:18 +0000
commit5c44c48dd03f19748c41ab86e7f59c87b4ddd899 (patch)
tree56d37a4f4e0b3ff420da2a643478cf5d8436bdec
parente20617966c9ba33e6383095e14888b552d1161e6 (diff)
downloadscummvm-rg350-5c44c48dd03f19748c41ab86e7f59c87b4ddd899.tar.gz
scummvm-rg350-5c44c48dd03f19748c41ab86e7f59c87b4ddd899.tar.bz2
scummvm-rg350-5c44c48dd03f19748c41ab86e7f59c87b4ddd899.zip
Restore apostrophe hack.
svn-id: r32623
-rw-r--r--engines/drascula/graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/drascula/graphics.cpp b/engines/drascula/graphics.cpp
index a9f754d0f2..3b3448843e 100644
--- a/engines/drascula/graphics.cpp
+++ b/engines/drascula/graphics.cpp
@@ -270,13 +270,13 @@ void DrasculaEngine::print_abc_opc(const char *said, int screenX, int screenY, i
signY = 40;
}
- int c = toupper(said[h]);
+ byte c = toupper(said[h]);
// WORKAROUND: Even original did not process it correctly
// Fixes apostrophe rendering
if (_lang != kSpanish)
if (c == '\'')
- c = '\244';
+ c = (byte)'\244';
for (int i = 0; i < _charMapSize; i++) {
if (c == _charMap[i].inChar) {