diff tools/lib64gfx.c @ 1801:0562dd55a1f6

s/DM_IFMT_/DM_COLFMT_/g
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 14 Jun 2018 12:58:44 +0300
parents 708d333734f9
children 0b7062d874ef
line wrap: on
line diff
--- a/tools/lib64gfx.c	Thu Jun 14 12:42:29 2018 +0300
+++ b/tools/lib64gfx.c	Thu Jun 14 12:58:44 2018 +0300
@@ -1312,7 +1312,7 @@
         return DMERR_NULLPTR;
 
     // Allocate image structure
-    if ((*pdst = dst = dmImageAlloc(src->width, src->height, DM_IFMT_PALETTE, -1)) == NULL)
+    if ((*pdst = dst = dmImageAlloc(src->width, src->height, DM_COLFMT_PALETTE, -1)) == NULL)
         return DMERR_MALLOC;
 
     // Set partial palette information