Mercurial > hg > openttd
changeset 6959:1355e68bf3dc draft
(svn r10215) -Fix r10214: forgot 2 cases of the same mistake
author | truelight <truelight@openttd.org> |
---|---|
date | Tue, 19 Jun 2007 12:19:31 +0000 (2007-06-19) |
parents | c47789866fde |
children | 978384d5091b |
files | src/blitter/32bpp_simple.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blitter/32bpp_simple.cpp +++ b/src/blitter/32bpp_simple.cpp @@ -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; }