changeset 2158:e363dc852383

Oops, display the real intended output pixfmt.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Jun 2019 17:13:29 +0300
parents 9a9493809b3a
children 3b89ad9355f2
files tools/gfxconv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Tue Jun 04 16:27:09 2019 +0300
+++ b/tools/gfxconv.c	Tue Jun 04 17:13:29 2019 +0300
@@ -1523,7 +1523,7 @@
         if (info)
         {
             char *str;
-            switch (image->pixfmt)
+            switch (spec->pixfmt)
             {
                 case DM_PIXFMT_PALETTE   : str = "indexed/paletted"; break;
                 case DM_PIXFMT_RGB       : str = "24bit RGB"; break;