(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
authortruelight
Tue, 19 Jun 2007 12:19:31 +0000
changeset 6959 8c5ef1825831
parent 6958 71b3acffa5d6
child 6960 356d856462b6
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
src/blitter/32bpp_simple.cpp
--- a/src/blitter/32bpp_simple.cpp	Tue Jun 19 12:18:24 2007 +0000
+++ b/src/blitter/32bpp_simple.cpp	Tue Jun 19 12:19:31 2007 +0000
@@ -141,7 +141,7 @@
 				udst++;
 			}
 			udst = udst - width + _screen.pitch;
-		} while (height--);
+		} while (--height);
 		return;
 	}
 	if (pal == PALETTE_TO_STRUCT_GREY) {
@@ -151,7 +151,7 @@
 				udst++;
 			}
 			udst = udst - width + _screen.pitch;
-		} while (height--);
+		} while (--height);
 		return;
 	}