diff options
-rw-r--r-- | engines/wage/design.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index d0c461c9dc..2ed53d7989 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -351,7 +351,7 @@ void Design::drawBitmap(Graphics::Surface *surface, Common::ReadStream &in, bool } void Design::drawFilledRect(Common::Rect &rect, int color, void (*plotProc)(int, int, int, void *), void *data) { - for (int y = rect.top; y < rect.bottom; y++) + for (int y = rect.top; y <= rect.bottom; y++) drawHLine(rect.left, rect.right, y, color, plotProc, data); } |