From 5c44c48dd03f19748c41ab86e7f59c87b4ddd899 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 8 Jun 2008 22:11:18 +0000 Subject: Restore apostrophe hack. svn-id: r32623 --- engines/drascula/graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/drascula') 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) { -- cgit v1.2.3