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

Restoring saved windows (/savewindows) didn't work.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@646 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-09-06 19:22:07 +00:00 committed by cras
parent 86a8cc7d6d
commit 097bbcef14

View File

@ -77,10 +77,10 @@ static void window_add_items(WINDOW_REC *window, CONFIG_NODE *node)
for (tmp = node->value; tmp != NULL; tmp = tmp->next) { for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
CONFIG_NODE *node = tmp->data; CONFIG_NODE *node = tmp->data;
type = config_node_get_str(node->value, "type", NULL); type = config_node_get_str(node, "type", NULL);
if (type != NULL) { if (type != NULL) {
signal_emit("window restore item", 3, signal_emit("window restore item", 3,
window, type, node->value); window, type, node);
} }
} }
} }