changeset 423:11b3adb3bdb1

Fix image format output.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 03 Nov 2012 08:11:56 +0200
parents 066d93830743
children e88b2993801c
files gfxconv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gfxconv.c	Sat Nov 03 08:11:29 2012 +0200
+++ b/gfxconv.c	Sat Nov 03 08:11:56 2012 +0200
@@ -1514,7 +1514,7 @@
         fclose(outFile);
     }
     else
-    if (optOutFormat == IMGFMT_PNG || optOutFormat == IMGFMT_PPM || optOutFormat == IMGFMT_PCX)
+    if (optOutFormat == FFMT_IMAGE)
     {
         DMImage *outImage = NULL;
         char *outFilename = NULL;