diff tools/libgfx.c @ 1543:416d7b3ba3b2

Rename libgfx IMGFMT_* constants to DM_IMGFMT_*.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 12 May 2018 17:48:56 +0300
parents 61a486e25dc7
children fd0d1b4efc83
line wrap: on
line diff
--- a/tools/libgfx.c	Sat May 12 05:31:40 2018 +0300
+++ b/tools/libgfx.c	Sat May 12 17:48:56 2018 +0300
@@ -1989,7 +1989,7 @@
 }
 
 
-DMImageFormat dmImageFormatList[IMGFMT_LAST] =
+DMImageFormat dmImageFormatList[DM_IMGFMT_LAST] =
 {
     {
         "PNG", "Portable Network Graphics",
@@ -2039,7 +2039,7 @@
 {
     int i, scoreMax = DM_PROBE_SCORE_FALSE, scoreIndex = -1;
 
-    for (i = 0; i < IMGFMT_LAST; i++)
+    for (i = 0; i < DM_IMGFMT_LAST; i++)
     {
         DMImageFormat *fmt = &dmImageFormatList[i];
         if (fmt->probe != NULL)