comparison tools/gfxconv.c @ 2216:2fa3458b364d

Oops, 10L in previous commit.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 06:07:35 +0300
parents 69e868af764c
children 80cc4ac6d876
comparison
equal deleted inserted replaced
2215:69e868af764c 2216:2fa3458b364d
2155 if (optPaletteFile != NULL) 2155 if (optPaletteFile != NULL)
2156 { 2156 {
2157 if ((res = dmHandleExternalPalette(optPaletteFile, &optC64Spec.pal)) != DMERR_OK) 2157 if ((res = dmHandleExternalPalette(optPaletteFile, &optC64Spec.pal)) != DMERR_OK)
2158 goto exit; 2158 goto exit;
2159 2159
2160 if (optSpec.pal->ncolors < D64_NCOLORS) 2160 if (optC64Spec.pal->ncolors < D64_NCOLORS)
2161 { 2161 {
2162 dmErrorMsg("Palette does not have enough colors (%d < %d)\n", 2162 dmErrorMsg("Palette does not have enough colors (%d < %d)\n",
2163 optSpec.pal->ncolors, D64_NCOLORS); 2163 optC64Spec.pal->ncolors, D64_NCOLORS);
2164 goto exit; 2164 goto exit;
2165 } 2165 }
2166 } 2166 }
2167 else 2167 else
2168 { 2168 {