From 9ad02c11c62bec4027f36fadbab9d81180dc2721 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 19 Jun 2007 12:19:31 +0000 Subject: [PATCH] (svn r10215) -Fix r10214: forgot 2 cases of the same mistake --- src/blitter/32bpp_simple.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blitter/32bpp_simple.cpp b/src/blitter/32bpp_simple.cpp index 3dc5ee0963..5ca0ba19cb 100644 --- a/src/blitter/32bpp_simple.cpp +++ b/src/blitter/32bpp_simple.cpp @@ -141,7 +141,7 @@ void Blitter_32bppSimple::DrawColorMappingRect(void *dst, int width, int height, udst++; } udst = udst - width + _screen.pitch; - } while (height--); + } while (--height); return; } if (pal == PALETTE_TO_STRUCT_GREY) { @@ -151,7 +151,7 @@ void Blitter_32bppSimple::DrawColorMappingRect(void *dst, int width, int height, udst++; } udst = udst - width + _screen.pitch; - } while (height--); + } while (--height); return; }