aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-21 21:17:56 -0400
committerMatthew Hoops2011-09-21 21:18:46 -0400
commit0fd4a55492eb4c4cd77f2e3e160fd26b896f87c2 (patch)
tree7b52e0949f1b2127cc051cfe7afa6a96cd9bd94f
parentcb500d147efa0c890d30f6be7aff286d5909b315 (diff)
downloadscummvm-rg350-0fd4a55492eb4c4cd77f2e3e160fd26b896f87c2.tar.gz
scummvm-rg350-0fd4a55492eb4c4cd77f2e3e160fd26b896f87c2.tar.bz2
scummvm-rg350-0fd4a55492eb4c4cd77f2e3e160fd26b896f87c2.zip
PEGASUS: Fix DropHighlight
-rw-r--r--engines/pegasus/elements.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/pegasus/elements.cpp b/engines/pegasus/elements.cpp
index ea1ed8436c..6f94fe5789 100644
--- a/engines/pegasus/elements.cpp
+++ b/engines/pegasus/elements.cpp
@@ -178,6 +178,7 @@ void DropHighlight::draw(const Common::Rect &) {
// going to implement it in those two ways. Deal with it.
Common::Rect rect = _bounds;
+ rect.grow(-_thickness);
screen->frameRect(rect, _highlightColor);
rect.grow(1);
screen->frameRect(rect, _highlightColor);