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:
Tor Lillqvist
2005-09-09 14:17:01 +00:00
committed by Tor Lillqvist
parent 823e52d3b0
commit 5a81d39e07
2 changed files with 4 additions and 4 deletions

View File

@ -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++;
}