summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blitter/32bpp_simple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_simple.cpp b/src/blitter/32bpp_simple.cpp
index 3dc5ee096..5ca0ba19c 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;
}