diff view64.c @ 534:fbfdc9e4fe2b

Begin preparations for improved bitmap conversion support. Breaks lib64gfx API.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 22 Nov 2012 21:09:15 +0200
parents 5b37a2e427b7
children 1993cd341079
line wrap: on
line diff
--- a/view64.c	Thu Nov 22 17:56:25 2012 +0200
+++ b/view64.c	Thu Nov 22 21:09:15 2012 +0200
@@ -50,7 +50,7 @@
         const DMC64ImageFormat *fmt = &dmC64ImageFormats[i];
         char buf[64];
         printf("%3d | %-5s | %-15s | %s\n",
-            i, fmt->extension,
+            i, fmt->fext,
             dmC64GetImageTypeString(buf, sizeof(buf), fmt->type),
             fmt->name);
     }
@@ -188,7 +188,8 @@
     if (optForcedFormat >= 0)
     {
         forced = &dmC64ImageFormats[optForcedFormat];
-        dmMsg(0,"Forced %s format image, type %d, %s\n", forced->name, forced->type, forced->extension);
+        dmMsg(0,"Forced %s format image, type %d, %s\n",
+            forced->name, forced->type, forced->fext);
     }
     else
         forced = NULL;
@@ -197,7 +198,7 @@
     if (forced == NULL && fmt != NULL)
     {
         dmMsg(0,"Probed %s format image, type %d, %s\n",
-            fmt->name, fmt->type, fmt->extension);
+            fmt->name, fmt->type, fmt->fext);
     }
 
     if (ret < 0)