diff options
author | David Hill <dhill@conformal.com> | 2014-06-10 12:06:19 -0400 |
---|---|---|
committer | David Hill <dhill@conformal.com> | 2014-06-10 12:06:19 -0400 |
commit | 0d4f13d20f304927277ad327c714481bc97de48f (patch) | |
tree | 0cea195e9fae20e3e10d48c5c829b0e894bdd492 /src/fe-common/core/fe-queries.c | |
parent | 5ca9287182092530dc206fa1af13fbe19cc357d1 (diff) | |
download | irssi-0d4f13d20f304927277ad327c714481bc97de48f.zip |
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
Diffstat (limited to 'src/fe-common/core/fe-queries.c')
-rw-r--r-- | src/fe-common/core/fe-queries.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-queries.c b/src/fe-common/core/fe-queries.c index adf2b3d4..7599fb23 100644 --- a/src/fe-common/core/fe-queries.c +++ b/src/fe-common/core/fe-queries.c @@ -127,7 +127,7 @@ static void signal_query_nick_changed(QUERY_REC *query, const char *oldnick) query->name, MSGLEVEL_NICKS, NULL); /* don't print the nick change message if only the case was changed */ - if (g_strcasecmp(query->name, oldnick) != 0) { + if (g_ascii_strcasecmp(query->name, oldnick) != 0) { printformat_dest(&dest, TXT_NICK_CHANGED, oldnick, query->name, query->name, query->address == NULL ? "" : query->address); @@ -160,7 +160,7 @@ static void sig_server_connected(SERVER_REC *server) if (rec->server == NULL && (rec->server_tag == NULL || - g_strcasecmp(rec->server_tag, server->tag) == 0)) { + g_ascii_strcasecmp(rec->server_tag, server->tag) == 0)) { window_item_change_server((WI_ITEM_REC *) rec, server); server->queries = g_slist_append(server->queries, rec); } |