diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-15 22:18:35 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-15 22:18:35 +0000 |
commit | b38f4da166c3568a346a9c918fb1b6bd2f39843f (patch) | |
tree | 4b7a7a04daa9095216797769dc50dad4fe1a71b9 /src/lib-config/set.c | |
parent | c9fd2197e3fa2fcc02522cd80624a11c2a566b7b (diff) | |
download | irssi-b38f4da166c3568a346a9c918fb1b6bd2f39843f.zip |
renamed old config_node_index() to config_node_nth(). added new
config_node_index() function. added config_node_section_index() for
adding/moving node to specified position in list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2460 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/lib-config/set.c')
-rw-r--r-- | src/lib-config/set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/set.c b/src/lib-config/set.c index fdb358f9..6cfaa483 100644 --- a/src/lib-config/set.c +++ b/src/lib-config/set.c @@ -67,7 +67,7 @@ void config_node_list_remove(CONFIG_REC *rec, CONFIG_NODE *node, int index) g_return_if_fail(node != NULL); g_return_if_fail(is_node_list(node)); - child = config_node_index(node, index); + child = config_node_nth(node, index); if (child != NULL) config_node_remove(rec, node, child); } |