Mercurial > hg > dmlib
changeset 2182:52985e4bc9ce
Wrong struct pointer variable used .. but actually the same pointer, so no harm done. Fixed anyway.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 12 Jun 2019 18:28:53 +0300 |
parents | 560ba06a99eb |
children | e3f0eaf23f4f |
files | tools/gfxconv.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/gfxconv.c Wed Jun 12 18:25:46 2019 +0300 +++ b/tools/gfxconv.c Wed Jun 12 18:28:53 2019 +0300 @@ -1435,7 +1435,7 @@ // Perform color remapping DMImage *image = pimage; BOOL allocated = FALSE; - if (optRemapColors && pimage->pixfmt == DM_PIXFMT_PALETTE) + if (optRemapColors && image->pixfmt == DM_PIXFMT_PALETTE) { if ((res = dmRemapImageColors(&image, pimage)) != DMERR_OK) return res;