diff tools/gfxconv.c @ 1933:c5a46cb4cce5

Change DMC64ImageFormat parameter of dmC64GetSubjectSize() and dmC64GetOpSubjectSize() to DMC64ImageCommonFormat.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Jun 2018 18:55:21 +0300
parents 410679d2fe8a
children 8896d5676f1b
line wrap: on
line diff
--- a/tools/gfxconv.c	Thu Jun 28 18:39:26 2018 +0300
+++ b/tools/gfxconv.c	Thu Jun 28 18:55:21 2018 +0300
@@ -1167,7 +1167,7 @@
         if (op->type == DO_LAST)
             break;
 
-        size = dmC64GetOpSubjectSize(op, dstFmt);
+        size = dmC64GetOpSubjectSize(op, dstFmt->format);
         switch (op->type)
         {
             case DO_COPY: