mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
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
This commit is contained in:
parent
32e01a5a06
commit
c561ba35e6
30 changed files with 86 additions and 86 deletions
|
|
@ -64,9 +64,9 @@ static void ignore_print(int index, IGNORE_REC *rec)
|
|||
if (rec->fullword) g_string_append(options, "-full ");
|
||||
if (rec->replies) g_string_append(options, "-replies ");
|
||||
if (rec->servertag != NULL)
|
||||
g_string_sprintfa(options, "-network %s ", rec->servertag);
|
||||
g_string_append_printf(options, "-network %s ", rec->servertag);
|
||||
if (rec->pattern != NULL)
|
||||
g_string_sprintfa(options, "-pattern %s ", rec->pattern);
|
||||
g_string_append_printf(options, "-pattern %s ", rec->pattern);
|
||||
|
||||
if (options->len > 1) g_string_truncate(options, options->len-1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue