aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-26 13:25:33 +0100
committerEugene Sandulenko2015-12-27 15:41:03 +0100
commit069735d0b7ab1d182c21100521ebc4691da34ceb (patch)
tree803f644f10fc7e9dab408a6e0d1f0b6983532eec /engines
parent91d5b8b17e7a600ab4e2d8def5a2d24b14cb1d57 (diff)
downloadscummvm-rg350-069735d0b7ab1d182c21100521ebc4691da34ceb.tar.gz
scummvm-rg350-069735d0b7ab1d182c21100521ebc4691da34ceb.tar.bz2
scummvm-rg350-069735d0b7ab1d182c21100521ebc4691da34ceb.zip
WAGE: Fix border drawing
Diffstat (limited to 'engines')
-rw-r--r--engines/wage/gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 420a584e53..377b89b65e 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -57,8 +57,9 @@ Gui::~Gui() {
}
void Gui::drawBox(Graphics::Surface *g, int x, int y, int w, int h) {
- Common::Rect r(x, y, x + w, y + h);
+ Common::Rect r(x, y, x + w + 1, y + h + 1);
+ g->fillRect(r, kColorWhite);
g->frameRect(r, kColorBlack);
}