diff options
author | Timo Sirainen <cras@irssi.org> | 2002-08-08 14:40:23 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-08-08 14:40:23 +0000 |
commit | 577c6fdb7844b253f34b4b135f7cb8dec701cf02 (patch) | |
tree | 69ae73159519ee6cee8af21644ecd5d9ef32c99f /src/perl/textui/TextUI.xs | |
parent | c7d1fa390ba54a417ed27e8db5ee1358064d0097 (diff) | |
download | irssi-577c6fdb7844b253f34b4b135f7cb8dec701cf02.zip |
crashfix for sbitem->{window}
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2872 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/textui/TextUI.xs')
-rw-r--r-- | src/perl/textui/TextUI.xs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs index f70591e9..56d89d3e 100644 --- a/src/perl/textui/TextUI.xs +++ b/src/perl/textui/TextUI.xs @@ -69,7 +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, "Irssi::UI::Window"), 0); + hv_store(hv, "window", 6, plain_bless(item->bar->parent_window->active, + "Irssi::UI::Window"), 0); } static PLAIN_OBJECT_INIT_REC textui_plains[] = { |