Mercurial > hg > dmlib
changeset 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 |
files | tools/gfxconv.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/gfxconv.c Fri Jun 14 06:04:47 2019 +0300 +++ b/tools/gfxconv.c Fri Jun 14 06:07:35 2019 +0300 @@ -2157,10 +2157,10 @@ if ((res = dmHandleExternalPalette(optPaletteFile, &optC64Spec.pal)) != DMERR_OK) goto exit; - if (optSpec.pal->ncolors < D64_NCOLORS) + if (optC64Spec.pal->ncolors < D64_NCOLORS) { dmErrorMsg("Palette does not have enough colors (%d < %d)\n", - optSpec.pal->ncolors, D64_NCOLORS); + optC64Spec.pal->ncolors, D64_NCOLORS); goto exit; } }