(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
authortruelight
Tue, 19 Jun 2007 12:19:31 +0000
changeset 7455 d6f39d44664b
parent 7454 f86ba05c4969
child 7456 0c0636370335
(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;
 	}