Restore apostrophe hack.

svn-id: r32623
This commit is contained in:
Eugene Sandulenko 2008-06-08 22:11:18 +00:00
parent e20617966c
commit 5c44c48dd0

View file

@ -270,13 +270,13 @@ void DrasculaEngine::print_abc_opc(const char *said, int screenX, int screenY, i
signY = 40; signY = 40;
} }
int c = toupper(said[h]); byte c = toupper(said[h]);
// WORKAROUND: Even original did not process it correctly // WORKAROUND: Even original did not process it correctly
// Fixes apostrophe rendering // Fixes apostrophe rendering
if (_lang != kSpanish) if (_lang != kSpanish)
if (c == '\'') if (c == '\'')
c = '\244'; c = (byte)'\244';
for (int i = 0; i < _charMapSize; i++) { for (int i = 0; i < _charMapSize; i++) {
if (c == _charMap[i].inChar) { if (c == _charMap[i].inChar) {