Code Cleanup:

Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.)



git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Alexander Færøy 2009-02-08 17:57:19 +00:00 committed by ahf
commit 2fffcf5a77
12 changed files with 20 additions and 20 deletions

View file

@ -569,7 +569,7 @@ void channel_set_singlemode(IRC_CHANNEL_REC *channel, const char *nicks,
if (num == 0)
{
g_string_sprintf(str, "MODE %s %s",
g_string_printf(str, "MODE %s %s",
channel->name, mode);
modepos = str->len;
} else {