Commit 823e52d3 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Practice what I preach and use g_ascii_strcasecmp() instead of

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().
parent 428771c6
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().
2005-09-09 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (printrc_load): use g_ascii_strcasecmp()
......
......@@ -147,7 +147,7 @@ get_prefix (gchar slash)
{
*r = '\0';
if (strlen (path) >= 4 &&
g_strcasecmp (r - 4, G_DIR_SEPARATOR_S "bin") == 0)
g_ascii_strcasecmp (r - 4, G_DIR_SEPARATOR_S "bin") == 0)
{
r[-4] = '\0';
prefix = path;
......@@ -623,7 +623,7 @@ maybe_append_exe (gchar *what)
#ifdef G_OS_WIN32
gchar *p = strrchr (what, '.');
if (p == NULL || g_strcasecmp (p, ".exe") != 0)
if (p == NULL || g_ascii_strcasecmp (p, ".exe") != 0)
return g_strconcat (what, ".exe");
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment