diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-09-10 17:39:00 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-09-10 17:39:00 +0000 |
commit | cf1d60203b13ff28963e9fbbe27f67de012a2a24 (patch) | |
tree | 8639f529d43509ff4655aa8df3b937ca42555f0e /src/fe-text/cuix-lib.c | |
parent | e6d43a9796dc868f0e313d497f6ebd290be6f1bf (diff) | |
download | irssi-cf1d60203b13ff28963e9fbbe27f67de012a2a24.zip |
Fix compilation with glib-1.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4334 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/cuix-lib.c')
-rw-r--r-- | src/fe-text/cuix-lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/cuix-lib.c b/src/fe-text/cuix-lib.c index 25d6a2f1..657e6576 100644 --- a/src/fe-text/cuix-lib.c +++ b/src/fe-text/cuix-lib.c @@ -72,7 +72,7 @@ int show_banlist (char *nothing) for (tmp = chan->banlist, i = 0; tmp; tmp = tmp->next, i++) { ban = tmp->data; baninfo[i] = g_string_new (NULL); - g_string_printf (baninfo[i], "%s set by %s %d seconds ago", ban->ban, ban->setby, (int)(time(NULL)-ban->time)); + g_string_sprintf (baninfo[i], "%s set by %s %d seconds ago", ban->ban, ban->setby, (int)(time(NULL)-ban->time)); entry = create_label (baninfo[i]->str); entries[i] = entry; } |