# HG changeset patch # User Matti Hamalainen # Date 1562565511 -10800 # Node ID 7c26b5f86ff7645bfc46d1c741d4c3dc1825b4a6 # Parent d71185584d95a0a93817aaffcfcf81bb4470f41f Cosmetic. diff -r d71185584d95 -r 7c26b5f86ff7 tools/lib64fmts.c --- 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)