mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05: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
@ -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…
Reference in New Issue
Block a user