Restore apostrophe hack.
svn-id: r32623
This commit is contained in:
parent
e20617966c
commit
5c44c48dd0
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue