mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 17:12:51 +02:00
config_node_clear() didn't work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@648 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5b92180b13
commit
008ec45db2
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ void config_node_clear(CONFIG_REC *rec, CONFIG_NODE *node)
|
||||||
g_return_if_fail(is_node_list(node));
|
g_return_if_fail(is_node_list(node));
|
||||||
|
|
||||||
while (node->value != NULL)
|
while (node->value != NULL)
|
||||||
config_node_remove(rec, node, node->value);
|
config_node_remove(rec, node, ((GSList *) node->value)->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
void config_nodes_remove_all(CONFIG_REC *rec)
|
void config_nodes_remove_all(CONFIG_REC *rec)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue