diff tools/gfxconv.c @ 2156:e6ec7fad9ce2

Rename DMImageConvSpec to DMImageWriteSpec to better reflec the struct's purpose.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Jun 2019 16:18:41 +0300
parents 28b7a842181f
children 9a9493809b3a
line wrap: on
line diff
--- a/tools/gfxconv.c	Tue Jun 04 16:15:58 2019 +0300
+++ b/tools/gfxconv.c	Tue Jun 04 16:18:41 2019 +0300
@@ -137,7 +137,7 @@
 char    *optCharROMFilename = NULL;
 
 
-DMImageConvSpec optSpec =
+DMImageWriteSpec optSpec =
 {
     .scaleX = 1,
     .scaleY = 1,
@@ -1392,7 +1392,7 @@
 int dmWriteIFFMasterRAWHeaderFile(
     const char *hdrFilename, const char *dataFilename,
     const char *prefix, const DMImage *img,
-    const DMImageConvSpec *spec)
+    const DMImageWriteSpec *spec)
 {
     DMResource *fp;
     int res;
@@ -1411,7 +1411,7 @@
 }
 
 
-int dmWriteImage(const char *filename, DMImage *pimage, DMImageConvSpec *spec, const DMImageFormat *fmt, BOOL info)
+int dmWriteImage(const char *filename, DMImage *pimage, DMImageWriteSpec *spec, const DMImageFormat *fmt, BOOL info)
 {
     int res = DMERR_OK;