changeset 2214:f8bba7a82ec2

Rename variable.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 14 Jun 2019 06:04:15 +0300
parents b1e392da8346
children 69e868af764c
files tools/gfxconv.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Fri Jun 14 06:03:47 2019 +0300
+++ b/tools/gfxconv.c	Fri Jun 14 06:04:15 2019 +0300
@@ -137,7 +137,7 @@
 int     optColorMap[D64_NCOLORS];
 char    *optCharROMFilename = NULL;
 DMC64Palette *optC64Palette = NULL;
-char    *optC64PaletteFile = NULL;
+char    *optPaletteFile = NULL;
 
 
 DMImageWriteSpec optSpec =
@@ -965,7 +965,7 @@
             break;
 
         case 22:
-            return argHandleC64PaletteOption(optArg, &optC64Palette, &optC64PaletteFile);
+            return argHandleC64PaletteOption(optArg, &optC64Palette, &optPaletteFile);
 
         default:
             dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
@@ -2152,9 +2152,9 @@
         }
     }
 
-    if (optC64PaletteFile != NULL)
+    if (optPaletteFile != NULL)
     {
-        if ((res = dmHandleExternalPalette(optC64PaletteFile, &optC64Spec.pal)) != DMERR_OK)
+        if ((res = dmHandleExternalPalette(optPaletteFile, &optC64Spec.pal)) != DMERR_OK)
             goto exit;
     }
     else