comparison 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
comparison
equal deleted inserted replaced
2493:ec036e88a0c2 2494:fcaf2db0cd05
1063 optRemapRemove = TRUE; 1063 optRemapRemove = TRUE;
1064 else 1064 else
1065 if (strcasecmp(topt, "alpha") == 0) 1065 if (strcasecmp(topt, "alpha") == 0)
1066 optRemapMatchAlpha = TRUE; 1066 optRemapMatchAlpha = TRUE;
1067 else 1067 else
1068 if (dm_strncasecmp(topt, "max=", 4) == 0) 1068 if (strncasecmp(topt, "max=", 4) == 0)
1069 { 1069 {
1070 char *start = topt + 4, *end; 1070 char *start = topt + 4, *end;
1071 optRemapMaxDist = strtof(start, &end); 1071 optRemapMaxDist = strtof(start, &end);
1072 1072
1073 if (end == start) 1073 if (end == start)
1076 topt); 1076 topt);
1077 return FALSE; 1077 return FALSE;
1078 } 1078 }
1079 } 1079 }
1080 else 1080 else
1081 if (dm_strncasecmp(topt, "nomatch=", 8) == 0) 1081 if (strncasecmp(topt, "nomatch=", 8) == 0)
1082 { 1082 {
1083 char *start = topt + 8, *end; 1083 char *start = topt + 8, *end;
1084 optRemapNoMatchColor = strtol(start, &end, 10); 1084 optRemapNoMatchColor = strtol(start, &end, 10);
1085 1085
1086 if (end == start) 1086 if (end == start)