mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -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:
parent
86a8cc7d6d
commit
097bbcef14
@ -77,10 +77,10 @@ static void window_add_items(WINDOW_REC *window, CONFIG_NODE *node)
|
||||
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
|
||||
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) {
|
||||
signal_emit("window restore item", 3,
|
||||
window, type, node->value);
|
||||
window, type, node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user