[Scummvm-cvs-logs] scummvm master -> 4c70d399330503e39841d6047435e26da2f189f2
wjp
wjp at usecode.org
Mon Jun 13 01:28:29 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4c70d39933 SCI: Shrink rectangle updated by DrawControl(Text)
Commit: 4c70d399330503e39841d6047435e26da2f189f2
https://github.com/scummvm/scummvm/commit/4c70d399330503e39841d6047435e26da2f189f2
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2011-06-12T16:24:28-07:00
Commit Message:
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.
Changed paths:
engines/sci/graphics/controls.cpp
diff --git a/engines/sci/graphics/controls.cpp b/engines/sci/graphics/controls.cpp
index 0289735..8d4712a 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 {
More information about the Scummvm-git-logs
mailing list