mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +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
|
|
@ -491,11 +491,11 @@ static void hilight_print(int index, HILIGHT_REC *rec)
|
|||
}
|
||||
|
||||
if (rec->priority != 0)
|
||||
g_string_sprintfa(options, "-priority %d ", rec->priority);
|
||||
g_string_append_printf(options, "-priority %d ", rec->priority);
|
||||
if (rec->color != NULL)
|
||||
g_string_sprintfa(options, "-color %s ", rec->color);
|
||||
g_string_append_printf(options, "-color %s ", rec->color);
|
||||
if (rec->act_color != NULL)
|
||||
g_string_sprintfa(options, "-actcolor %s ", rec->act_color);
|
||||
g_string_append_printf(options, "-actcolor %s ", rec->act_color);
|
||||
|
||||
chans = rec->channels == NULL ? NULL :
|
||||
g_strjoinv(",", rec->channels);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue