diff gfxconv.c @ 509:e8e244036ee4

Update gfxconv and view64 to the changes in lib64gfx API.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 19 Nov 2012 14:04:56 +0200
parents 5672dc238904
children 6f141f760c54
line wrap: on
line diff
--- a/gfxconv.c	Mon Nov 19 13:50:10 2012 +0200
+++ b/gfxconv.c	Mon Nov 19 14:04:56 2012 +0200
@@ -1520,8 +1520,8 @@
                         outImage->ncolors  = C64_NCOLORS;
                         outImage->constpal = TRUE;
                         
-                        if (cfmt->convert != NULL)
-                            res = cfmt->convert(outImage, &cimage);
+                        if (cfmt->convertFrom != NULL)
+                            res = cfmt->convertFrom(outImage, &cimage);
                         else
                             res = dmC64ConvertGenericBMP2Image(outImage, &cimage);