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

@ -1,8 +1,8 @@
2005-09-09 Tor Lillqvist <tml@novell.com>
* gimptool-win32.c.in (get_prefix, maybe_append_exe): Practice
what I preach and use g_ascii_strcasecmp() instead of
g_strcasecmp().
* gimptool-win32.c.in (get_prefix, maybe_append_exe)
* libgimpbase/gimpdatafiles.c (is_script): Practice what I preach
and use g_ascii_strcasecmp() instead of g_strcasecmp().
2005-09-09 Sven Neumann <sven@gimp.org>

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