From cf1d60203b13ff28963e9fbbe27f67de012a2a24 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Sun, 10 Sep 2006 17:39:00 +0000 Subject: [PATCH] Fix compilation with glib-1. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4334 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/cuix-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }