From 0b79d5611e5f2fc222ea4d7f1d60ff7905d83fbe Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 19 Dec 2015 13:13:35 +0100 Subject: [PATCH] WAGE: Fixed rectangle drawing --- engines/wage/design.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index d0c461c9dc43..2ed53d7989fa 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); }