diff tools/gfxconv.c @ 1911:794cbb938a58

Do not force output type to FFMT_ASCII if format is set on commandline.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 26 Jun 2018 20:20:00 +0300
parents 1a198212009e
children 87245043a7ae
line wrap: on
line diff
--- a/tools/gfxconv.c	Tue Jun 26 17:32:14 2018 +0300
+++ b/tools/gfxconv.c	Tue Jun 26 20:20:00 2018 +0300
@@ -1868,6 +1868,7 @@
         }
     }
     else
+    if (optOutType == FFMT_AUTO)
         optOutType = FFMT_ASCII;
 
     // Read the input ..