aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/wage/design.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp
index e52b93c964..0a864385e3 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);
}