summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/notifylist
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2009-02-08 17:22:42 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-02-08 17:22:42 +0000
commitc561ba35e6aa382124147e88f45683c0021db02f (patch)
treea0ec48e7655295c69662a9edd396038951527e92 /src/fe-common/irc/notifylist
parent32e01a5a06e35c98c478413fb6c86818dd930ff3 (diff)
downloadirssi-c561ba35e6aa382124147e88f45683c0021db02f.zip
Code Cleanup:
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/notifylist')
-rw-r--r--src/fe-common/irc/notifylist/fe-notifylist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c
index 036c07e9..1cfe9ed4 100644
--- a/src/fe-common/irc/notifylist/fe-notifylist.c
+++ b/src/fe-common/irc/notifylist/fe-notifylist.c
@@ -71,7 +71,7 @@ static void print_notify_onserver(IRC_SERVER_REC *server, GSList *nicks,
if (!notifylist_ison_server(server, nick))
continue;
- g_string_sprintfa(str, "%s, ", nick);
+ g_string_append_printf(str, "%s, ", nick);
*offline = g_slist_remove(*offline, nick);
}
@@ -133,7 +133,7 @@ static void cmd_notify_show(void)
str = g_string_new(NULL);
for (tmp = offline; tmp != NULL; tmp = tmp->next)
- g_string_sprintfa(str, "%s, ", (char *) tmp->data);
+ g_string_append_printf(str, "%s, ", (char *) tmp->data);
g_string_truncate(str, str->len-2);
printformat(NULL,NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_NOTIFY_OFFLINE, str->str);