Mercurial > hg > dmlib
changeset 1627:d0e626e039bf
Cleanup.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 16 May 2018 15:15:39 +0300 |
parents | 1793fc1496da |
children | a549d33d543a |
files | tools/libgfx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/libgfx.c Wed May 16 15:04:38 2018 +0300 +++ b/tools/libgfx.c Wed May 16 15:15:39 2018 +0300 @@ -1718,7 +1718,7 @@ DMIFF iff; Uint32 read; BOOL parsed = FALSE; - int i, res = DMERR_OK; + int res = DMERR_OK; dmMemset(&iff, 0, sizeof(iff)); @@ -1946,7 +1946,7 @@ else iff.pal = ptmp; - for (i = 0; i < iff.ncolors; i++) + for (int i = 0; i < iff.ncolors; i++) { int i2 = iff.ncolors + i; iff.pal[i2].r = iff.pal[i].r / 2;