mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
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:
parent
c561ba35e6
commit
2fffcf5a77
12 changed files with 20 additions and 20 deletions
|
|
@ -128,7 +128,7 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn)
|
|||
num = 2;
|
||||
while (server_find_tag(str->str) != NULL ||
|
||||
server_find_lookup_tag(str->str) != NULL) {
|
||||
g_string_sprintf(str, "%s%d", tag, num);
|
||||
g_string_printf(str, "%s%d", tag, num);
|
||||
num++;
|
||||
}
|
||||
g_free(tag);
|
||||
|
|
|
|||
|
|
@ -500,7 +500,7 @@ void settings_check_module(const char *module)
|
|||
if (node == NULL) return;
|
||||
|
||||
errors = g_string_new(NULL);
|
||||
g_string_sprintf(errors, "Unknown settings in configuration "
|
||||
g_string_printf(errors, "Unknown settings in configuration "
|
||||
"file for module %s:", module);
|
||||
|
||||
count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue