aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/graphics.cpp')
-rw-r--r--engines/avalanche/graphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp
index 1e3a6ff36c..ca9409d25d 100644
--- a/engines/avalanche/graphics.cpp
+++ b/engines/avalanche/graphics.cpp
@@ -479,11 +479,11 @@ void GraphicManager::drawDebugLines() {
}
void GraphicManager::drawFilledRectangle(Common::Rect rect, Color color) {
- _surface.fillRect(rect, color);
+ _surface.fillRect(Common::Rect(rect.left, rect.top, rect.right + 1, rect.bottom + 1), color);
}
void GraphicManager::drawRectangle(Common::Rect rect, Color color) {
- _surface.frameRect(rect, color);
+ _surface.frameRect(Common::Rect(rect.left, rect.top, rect.right + 1, rect.bottom + 1), color);
}
void GraphicManager::nimLoad() {
@@ -687,7 +687,7 @@ void GraphicManager::helpDrawHighlight(byte which, Color color) {
return;
which &= 31;
- drawRectangle(Common::Rect(466, 38 + which * 27, 555, 63 + which * 27), color);
+ drawRectangle(Common::Rect(466, 38 + which * 27, 555, 62 + which * 27), color);
}
/**