From 4c70d399330503e39841d6047435e26da2f189f2 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 13 Jun 2011 01:24:28 +0200 Subject: 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. --- engines/sci/graphics/controls.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'engines/sci') 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 { -- cgit v1.2.3