aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/text32.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2011-10-29 01:42:41 +0300
committerFilippos Karapetis2011-10-29 01:42:41 +0300
commitc0d4adbd6534a62aa9983939f00bb6c0954b8200 (patch)
tree5e5efebbccf1e4ec606aca9b21c6cc97452c91ec /engines/sci/graphics/text32.cpp
parentec7b5a79c2902a5a0cf884c02f0c34a4150c2e9f (diff)
downloadscummvm-rg350-c0d4adbd6534a62aa9983939f00bb6c0954b8200.tar.gz
scummvm-rg350-c0d4adbd6534a62aa9983939f00bb6c0954b8200.tar.bz2
scummvm-rg350-c0d4adbd6534a62aa9983939f00bb6c0954b8200.zip
SCI: Fixed typo
Diffstat (limited to 'engines/sci/graphics/text32.cpp')
-rw-r--r--engines/sci/graphics/text32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/text32.cpp b/engines/sci/graphics/text32.cpp
index c26fbd7e34..c64413c059 100644
--- a/engines/sci/graphics/text32.cpp
+++ b/engines/sci/graphics/text32.cpp
@@ -135,9 +135,9 @@ void GfxText32::drawTextBitmap(uint16 x, uint16 y, Common::Rect planeRect, reg_t
int curByte = 0;
uint16 skipColor = readSelectorValue(_segMan, textObject, SELECTOR(skip));
- // Get totalWidth, totalHeight
uint16 textX = planeRect.left + x;
uint16 textY = planeRect.top + y;
+ // Get totalWidth, totalHeight
uint16 width = READ_LE_UINT16(memoryPtr);
uint16 height = READ_LE_UINT16(memoryPtr + 2);