Mercurial > hg > dmlib
diff tools/lib64fmts.c @ 2302:7c26b5f86ff7
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 08 Jul 2019 08:58:31 +0300 |
parents | d71185584d95 |
children | e798a41f27a5 |
line wrap: on
line diff
--- a/tools/lib64fmts.c Mon Jul 08 08:57:31 2019 +0300 +++ b/tools/lib64fmts.c Mon Jul 08 08:58:31 2019 +0300 @@ -942,8 +942,8 @@ { DM_C64_GENERIC_MC_PIXEL_DEFS(img) const int vbank = rasterY & 7; + Uint8 color1, color2, bgcol = img->bgcolor; int res; - Uint8 color1, color2, bgcol = img->bgcolor; if ((res = dmC64GetGenericMCPixel(&color1, img, bmoffs, scroffs, vshift, vbank , 0, 0, bgcol)) != DMERR_OK || (res = dmC64GetGenericMCPixel(&color2, img, bmoffs, scroffs, vshift, vbank + 8, 1, 0, bgcol)) != DMERR_OK)