aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/text.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-07-03 01:06:54 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitec0b26ce795c9f5d7ecb12a642f444183b52348e (patch)
treeb70ad7c386977898590099947dbba34137e857f5 /engines/dm/text.cpp
parentd69236e67430ffe1e5ac07abc2015f6bbf36d580 (diff)
downloadscummvm-rg350-ec0b26ce795c9f5d7ecb12a642f444183b52348e.tar.gz
scummvm-rg350-ec0b26ce795c9f5d7ecb12a642f444183b52348e.tar.bz2
scummvm-rg350-ec0b26ce795c9f5d7ecb12a642f444183b52348e.zip
DM: Reorder blitting method parameters
Diffstat (limited to 'engines/dm/text.cpp')
-rw-r--r--engines/dm/text.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/dm/text.cpp b/engines/dm/text.cpp
index a97060e914..b29584e3bd 100644
--- a/engines/dm/text.cpp
+++ b/engines/dm/text.cpp
@@ -61,8 +61,7 @@ void TextMan::f40_printTextToBitmap(byte* destBitmap, uint16 destPixelWidth, uin
uint16 srcX = (1 + 5) * toupper(*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, 6 * 128, (nextX == destX) ? (srcX + 1) : srcX, 0, destBitmap, destPixelWidth,
- box, k255_ColorNoTransparency);
+ _vm->_displayMan->f132_blitToBitmap(srcBitmap, destBitmap, box, (nextX == destX) ? (srcX + 1) : srcX, 0, 6 * 128, destPixelWidth, k255_ColorNoTransparency);
nextX += k5_LetterWidth + 1;
}