summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-29 22:57:03 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-29 22:57:03 +0000
commitf9c9e6fc758f75deca00cd737d9f30d62b3374c1 (patch)
tree6de12fcc72f3efc25e9f564d10574f7ba12dfa28
parent76e0e448af4c7cdecddf71c8ab029ed76c6ba561 (diff)
downloadirssi-f9c9e6fc758f75deca00cd737d9f30d62b3374c1.zip
Windowitem->{type} wasn't set properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1595 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/perl/perl-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-common.c b/src/perl/perl-common.c
index be892983..020cd65d 100644
--- a/src/perl/perl-common.c
+++ b/src/perl/perl-common.c
@@ -229,7 +229,7 @@ void perl_window_item_fill_hash(HV *hv, WI_ITEM_REC *item)
g_return_if_fail(hv != NULL);
g_return_if_fail(item != NULL);
- type = (char *) module_find_id_str("WINDOW ITEM", item->type);
+ type = (char *) module_find_id_str("WINDOW ITEM TYPE", item->type);
chat_type = (char *) chat_protocol_find_id(item->chat_type)->name;
hv_store(hv, "type", 4, new_pv(type), 0);