aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/saga/interface.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 55b2b0a996..12d027d124 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -2016,10 +2016,10 @@ void Interface::drawButtonBox(Surface *ds, const Rect& rect, ButtonKind kind, bo
((byte *)ds->getBasePtr(x, ye))[0] = cornerColor;
((byte *)ds->getBasePtr(xe, y))[0] = cornerColor;
((byte *)ds->getBasePtr(xe, ye))[0] = cornerColor;
- ds->hLine(x + 1, y, x + 1 + w - 2, frameColor);
- ds->hLine(x + 1, ye, x + 1 + w - 2, frameColor);
- ds->vLine(x, y + 1, y + 1 + h - 2, frameColor);
- ds->vLine(xe, y + 1, y + 1 + h - 2, frameColor);
+ ds->hLine(x + 1, y, x + w - 2, frameColor);
+ ds->hLine(x + 1, ye, x + w - 2, frameColor);
+ ds->vLine(x, y + 1, y + h - 2, frameColor);
+ ds->vLine(xe, y + 1, y + h - 2, frameColor);
x++;
y++;