summaryrefslogtreecommitdiff
path: root/src/lib-config/set.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-15 22:18:35 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-15 22:18:35 +0000
commitb38f4da166c3568a346a9c918fb1b6bd2f39843f (patch)
tree4b7a7a04daa9095216797769dc50dad4fe1a71b9 /src/lib-config/set.c
parentc9fd2197e3fa2fcc02522cd80624a11c2a566b7b (diff)
downloadirssi-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.c2
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);
}