1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

another crashfix

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2873 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-08-08 15:12:34 +00:00 committed by cras
parent 577c6fdb78
commit 452db286da

View File

@ -69,8 +69,8 @@ static void perl_statusbar_item_fill_hash(HV *hv, SBAR_ITEM_REC *item)
hv_store(hv, "max_size", 8, newSViv(item->max_size), 0);
hv_store(hv, "xpos", 4, newSViv(item->xpos), 0);
hv_store(hv, "size", 4, newSViv(item->size), 0);
hv_store(hv, "window", 6, plain_bless(item->bar->parent_window->active,
"Irssi::UI::Window"), 0);
if (item->bar->parent_window != NULL)
hv_store(hv, "window", 6, plain_bless(item->bar->parent_window->active, "Irssi::UI::Window"), 0);
}
static PLAIN_OBJECT_INIT_REC textui_plains[] = {