mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix compilation with glib-1.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4334 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e6d43a9796
commit
cf1d60203b
@ -72,7 +72,7 @@ int show_banlist (char *nothing)
|
|||||||
for (tmp = chan->banlist, i = 0; tmp; tmp = tmp->next, i++) {
|
for (tmp = chan->banlist, i = 0; tmp; tmp = tmp->next, i++) {
|
||||||
ban = tmp->data;
|
ban = tmp->data;
|
||||||
baninfo[i] = g_string_new (NULL);
|
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);
|
entry = create_label (baninfo[i]->str);
|
||||||
entries[i] = entry;
|
entries[i] = entry;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user