From 0c06d393ca7f82e0c14316131aeb37a9c4f192f5 Mon Sep 17 00:00:00 2001 From: qndel Date: Thu, 3 Oct 2019 14:55:32 +0200 Subject: [PATCH] scrollrt_draw_lower cleanup --- Source/scrollrt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/scrollrt.cpp b/Source/scrollrt.cpp index 2baf2cdf3..29fcbdc56 100644 --- a/Source/scrollrt.cpp +++ b/Source/scrollrt.cpp @@ -590,8 +590,7 @@ void scrollrt_draw_lower(int x, int y, int sx, int sy, int chunks, int eflag) } j = chunks; - while (j != 0) { - j--; + while (j-- != 0) { if (y < 0 || x >= MAXDUNX) { break; }