Practice what I preach and use g_ascii_strcasecmp() instead of
2005-09-09 Tor Lillqvist <tml@novell.com> * libgimpbase/gimpdatafiles.c (is_script): Practice what I preach and use g_ascii_strcasecmp() instead of g_strcasecmp().
This commit is contained in:

committed by
Tor Lillqvist

parent
823e52d3b0
commit
5a81d39e07
@ -77,7 +77,7 @@ is_script (const gchar *filename)
|
||||
i = 0;
|
||||
while (exts[i] != NULL)
|
||||
{
|
||||
if (g_strcasecmp (ext, exts[i]) == 0)
|
||||
if (g_ascii_strcasecmp (ext, exts[i]) == 0)
|
||||
return TRUE;
|
||||
i++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user