mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue