From 0ce3f8243eb564063c66a1b32169109af17e4081 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 2 Feb 2002 17:37:44 +0000 Subject: Comments are now allowed everywhere in config files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fe-common/core/fe-settings.c') diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index bb4405fa..382a09f7 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -173,12 +173,12 @@ static void show_aliases(const char *alias) printformat(NULL, NULL, MSGLEVEL_CLIENTCRAP, TXT_ALIASLIST_HEADER); node = iconfig_node_traverse("aliases", FALSE); - tmp = node == NULL ? NULL : node->value; + tmp = node == NULL ? NULL : config_node_first(node->value); /* first get the list of aliases sorted */ list = NULL; aliaslen = strlen(alias); - for (; tmp != NULL; tmp = tmp->next) { + for (; tmp != NULL; tmp = config_node_next(tmp)) { CONFIG_NODE *node = tmp->data; if (node->type != NODE_TYPE_KEY) -- cgit v1.2.3