diff libpurple/protocols/irc/parse.c @ 17091:4453f59c2035

strcasecmp is post-C89, so use the glib equivalent
author Ethan Blanton <elb@pidgin.im>
date Mon, 14 May 2007 23:11:30 +0000
parents c417cc8403e3
children 25ef7db38f28
line wrap: on
line diff
--- a/libpurple/protocols/irc/parse.c	Mon May 14 19:38:06 2007 +0000
+++ b/libpurple/protocols/irc/parse.c	Mon May 14 23:11:30 2007 +0000
@@ -227,7 +227,7 @@
 	enclist = purple_account_get_string(irc->account, "encoding", IRC_DEFAULT_CHARSET);
 	encodings = g_strsplit(enclist, ",", 2);
 
-	if (encodings[0] == NULL || !strcasecmp("UTF-8", encodings[0])) {
+	if (encodings[0] == NULL || !g_ascii_strcasecmp("UTF-8", encodings[0])) {
 		g_strfreev(encodings);
 		return g_strdup(string);
 	}