summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJase Thew <bazerka@irssi.org>2011-10-30 15:57:42 +0000
committerbazerka <bazerka@dbcabf3a-b0e7-0310-adc4-f8d773084564>2011-10-30 15:57:42 +0000
commit518b822db451a863b9496e985b10b88c50339582 (patch)
tree16e5aafdebe1c0f58031e3c942f4d89adf4dd05c /src
parentb77539816c741294f1cfab607ab93d815109baa5 (diff)
downloadirssi-518b822db451a863b9496e985b10b88c50339582.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/chat-completion.c6
-rw-r--r--src/fe-common/core/fe-log.c2
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);