summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/notifylist
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-09 12:17:55 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-09 12:17:55 +0000
commit72930e0be3a8841e8149b246542832128310c350 (patch)
treec4cb68d6557440d1144126dac6f8bacbfb72a191 /src/fe-common/irc/notifylist
parent7df46597e17ff7af4a660ab47673fe2cabc91db6 (diff)
downloadirssi-72930e0be3a8841e8149b246542832128310c350.zip
Use g_ascii_str{,n}casecmp for case insensitive comparison with
ascii only strings. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4739 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/notifylist')
-rw-r--r--src/fe-common/irc/notifylist/fe-notifylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c
index 35bed36d..036c07e9 100644
--- a/src/fe-common/irc/notifylist/fe-notifylist.c
+++ b/src/fe-common/irc/notifylist/fe-notifylist.c
@@ -177,7 +177,7 @@ static void cmd_notify(const char *data)
signal_stop();
}
- if (g_strncasecmp(data, "-list", 4) == 0) {
+ if (g_ascii_strncasecmp(data, "-list", 4) == 0) {
cmd_notifylist_show();
signal_stop();
}