diff tools/gfxconv.c @ 2494:fcaf2db0cd05

Remove dm_str(n)casecmp() functions, in favour of standard libc ones.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 28 Apr 2020 20:34:49 +0300
parents ec036e88a0c2
children 88c68a03c493
line wrap: on
line diff
--- a/tools/gfxconv.c	Tue Apr 28 20:28:35 2020 +0300
+++ b/tools/gfxconv.c	Tue Apr 28 20:34:49 2020 +0300
@@ -1065,7 +1065,7 @@
                     if (strcasecmp(topt, "alpha") == 0)
                         optRemapMatchAlpha = TRUE;
                     else
-                    if (dm_strncasecmp(topt, "max=", 4) == 0)
+                    if (strncasecmp(topt, "max=", 4) == 0)
                     {
                         char *start = topt + 4, *end;
                         optRemapMaxDist = strtof(start, &end);
@@ -1078,7 +1078,7 @@
                         }
                     }
                     else
-                    if (dm_strncasecmp(topt, "nomatch=", 8) == 0)
+                    if (strncasecmp(topt, "nomatch=", 8) == 0)
                     {
                         char *start = topt + 8, *end;
                         optRemapNoMatchColor = strtol(start, &end, 10);