diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-06 19:22:07 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-06 19:22:07 +0000 |
commit | 097bbcef148d2e168e0ba62cfcf5f24a239f7879 (patch) | |
tree | cdbbbf07d46629e586d5b6140db65652fecf4bfd /src | |
parent | 86a8cc7d6d7a40cb07b9aa9a61be4281c176d097 (diff) | |
download | irssi-097bbcef148d2e168e0ba62cfcf5f24a239f7879.zip |
Restoring saved windows (/savewindows) didn't work.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@646 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/window-save.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/window-save.c b/src/fe-common/core/window-save.c index ba204383..175389c1 100644 --- a/src/fe-common/core/window-save.c +++ b/src/fe-common/core/window-save.c @@ -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); } } } |