diff tools/lib64gfx.c @ 1632:2a1866fd546e

Use C64 encdec operator specified size for the element if it is larger than the default size.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 25 May 2018 01:41:31 +0300
parents ed5ccf00b959
children 9d9a0e852b3d
line wrap: on
line diff
--- a/tools/lib64gfx.c	Fri May 25 00:28:19 2018 +0300
+++ b/tools/lib64gfx.c	Fri May 25 01:41:31 2018 +0300
@@ -587,6 +587,10 @@
             *size = 0;
     }
 
+    // If the operator specified size is larger, use it.
+    if (op->size > *size)
+        *size = op->size;
+
     return TRUE;
 }