aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/wage/gui.cpp8
-rw-r--r--engines/wage/wage.cpp2
2 files changed, 7 insertions, 3 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index 2207e8e938..053abbf688 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -104,7 +104,9 @@ void Gui::paintBorder(Graphics::Surface *g, int x, int y, int width, int height,
for (int yy = 0; yy < ARROW_H; yy++) {
for (int xx = 0; xx < ARROW_W; xx++) {
if (arrowPixels[yy][xx] != 0) {
- g->hLine(x1+xx, y1+yy, 1, 0);
+ g->hLine(x1+xx, y1+yy, x1+xx+1, kColorBlack);
+ } else {
+ g->hLine(x1+xx, y1+yy, x1+xx+1, kColorWhite);
}
}
}
@@ -113,7 +115,9 @@ void Gui::paintBorder(Graphics::Surface *g, int x, int y, int width, int height,
for (int yy = 0; yy < ARROW_H; yy++) {
for (int xx = 0; xx < ARROW_W; xx++) {
if (arrowPixels[ARROW_H-yy-1][xx] != 0) {
- g->hLine(x1+xx, y1+yy, 1, 0);
+ g->hLine(x1+xx, y1+yy, x1+xx+1, kColorBlack);
+ } else {
+ g->hLine(x1+xx, y1+yy, x1+xx+1, kColorWhite);
}
}
}
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp
index 882b11567b..b9ee574d52 100644
--- a/engines/wage/wage.cpp
+++ b/engines/wage/wage.cpp
@@ -129,7 +129,7 @@ Common::Error WageEngine::run() {
scene->paint(&screen);
_gui->paintBorder(&screen, 0, 0, scene->_design->getBounds()->width(), scene->_design->getBounds()->height(),
- true, false, true, false);
+ true, true, true, false);
g_system->copyRectToScreen(screen.getPixels(), screen.pitch, 0, 0, screen.w, screen.h);