From 518b822db451a863b9496e985b10b88c50339582 Mon Sep 17 00:00:00 2001 From: Jase Thew Date: Sun, 30 Oct 2011 15:57:42 +0000 Subject: [PATCH] Replace remaining usage of deprecated g_strdown(). Follow-up to r5138. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5208 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/chat-completion.c | 6 +++--- src/fe-common/core/fe-log.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c index 29919b5c..a25f63c6 100644 --- a/src/fe-common/core/chat-completion.c +++ b/src/fe-common/core/chat-completion.c @@ -355,7 +355,7 @@ static void complete_from_nicklist(GList **outlist, CHANNEL_REC *channel, if (g_strncasecmp(rec->nick, nick, len) == 0 && glist_find_icase_string(*outlist, rec->nick) == NULL) { str = g_strconcat(rec->nick, suffix, NULL); - if (completion_lowercase) g_strdown(str); + if (completion_lowercase) ascii_strdown(str); if (rec->own) ownlist = g_list_append(ownlist, str); else @@ -407,7 +407,7 @@ static GList *completion_nicks_nonstrict(CHANNEL_REC *channel, if (g_strncasecmp(str, nick, len) == 0) { tnick = g_strconcat(rec->nick, suffix, NULL); if (completion_lowercase) - g_strdown(tnick); + ascii_strdown(tnick); if (glist_find_icase_string(list, tnick) == NULL) list = g_list_append(list, tnick); @@ -451,7 +451,7 @@ static GList *completion_channel_nicks(CHANNEL_REC *channel, const char *nick, rec != channel->ownnick) { str = g_strconcat(rec->nick, suffix, NULL); if (completion_lowercase) - g_strdown(str); + ascii_strdown(str); if (glist_find_icase_string(list, str) == NULL) list = g_list_append(list, str); else diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index 8e250028..3008d0a7 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -435,7 +435,7 @@ static void autolog_open(SERVER_REC *server, const char *server_tag, '%' -> '%%' - so strftime() won't mess with them */ fixed_target = escape_target(target); if (CHAT_PROTOCOL(server)->case_insensitive) - g_strdown(fixed_target); + ascii_strdown(fixed_target); /* $0 = target, $1 = server tag */ params = g_strconcat(fixed_target, " ", server_tag, NULL);