From 0c37ed2c56dc30722d877e02b3e5f755e2d7f458 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 18 Dec 2015 19:47:27 +0100 Subject: [PATCH] WAGE: Fix hang up --- 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 e52b93c96441..0a864385e38c 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -445,7 +445,7 @@ void Design::drawVLine(int x, int y1, int y2, int color, void (*plotProc)(int, i if (y1 > y2) SWAP(y1, y2); - for (int y = y1; y < y2; x++) + for (int y = y1; y < y2; y++) (*plotProc)(x, y, color, data); }