aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-09 16:45:44 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit6885cf6e593d1739ae2e864d3f568bb5ccb77222 (patch)
treea17c9829f52f78c729da60d8134ad7b20b140f04
parent0ab1a2a51ecf2f63a00dc3442b06a9c313cae536 (diff)
downloadscummvm-rg350-6885cf6e593d1739ae2e864d3f568bb5ccb77222.tar.gz
scummvm-rg350-6885cf6e593d1739ae2e864d3f568bb5ccb77222.tar.bz2
scummvm-rg350-6885cf6e593d1739ae2e864d3f568bb5ccb77222.zip
DM: Fix broken spell symbols
-rw-r--r--engines/dm/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/text.cpp b/engines/dm/text.cpp
index 68ea14f9cb..17531a1899 100644
--- a/engines/dm/text.cpp
+++ b/engines/dm/text.cpp
@@ -72,7 +72,7 @@ void TextMan::f40_printTextToBitmap(byte* destBitmap, uint16 destByteWidth, int1
}
if (nextY + k6_LetterHeight >= destHeight)
break;
- uint16 srcX = (1 + 5) * toupper(*begin); // 1 + 5 is not the letter width, arbitrary choice of the unpacking code
+ uint16 srcX = (1 + 5) * *begin; // 1 + 5 is not the letter width, arbitrary choice of the unpacking code
Box box((nextX == destX) ? (nextX + 1) : nextX, nextX + k5_LetterWidth + 1, nextY, nextY + k6_LetterHeight - 1);
_vm->_displayMan->f132_blitToBitmap(srcBitmap, destBitmap, box, (nextX == destX) ? (srcX + 1) : srcX, 0, 6 * 128 / 2, destByteWidth, kM1_ColorNoTransparency);