aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-06-13 01:24:28 +0200
committerWillem Jan Palenstijn2011-06-13 01:24:28 +0200
commit4c70d399330503e39841d6047435e26da2f189f2 (patch)
treef108db28c0dbd2fc1998f6f57e3196c5fa55b816 /engines/sci
parent259bb8417497170a81c3226d23ba7f2454edce60 (diff)
downloadscummvm-rg350-4c70d399330503e39841d6047435e26da2f189f2.tar.gz
scummvm-rg350-4c70d399330503e39841d6047435e26da2f189f2.tar.bz2
scummvm-rg350-4c70d399330503e39841d6047435e26da2f189f2.zip
SCI: Shrink rectangle updated by DrawControl(Text)
This fixes dialogs in Jones CD (bug #3297111) together with 9e2c7f26d2e6c6081489365cbc07cd6edec362ad. This grow was probably accidentally added in 6fda9a5067ca642ccf569a0845e170a6a74ce442. Assembly of KQ5CD and JonesCD confirms it shouldn't be there.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/controls.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sci/graphics/controls.cpp b/engines/sci/graphics/controls.cpp
index 0289735c0a..8d4712a969 100644
--- a/engines/sci/graphics/controls.cpp
+++ b/engines/sci/graphics/controls.cpp
@@ -329,7 +329,6 @@ void GfxControls::kernelDrawText(Common::Rect rect, reg_t obj, const char *text,
if (style & SCI_CONTROLS_STYLE_SELECTED) {
_paint16->frameRect(rect);
}
- rect.grow(1);
if (!getPicNotValid())
_paint16->bitsShow(rect);
} else {