summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-02 17:37:44 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-02 17:37:44 +0000
commit0ce3f8243eb564063c66a1b32169109af17e4081 (patch)
tree834275a5cb412c07efafc83a2f180e3cf5d697d0 /src/fe-common/core/hilight-text.c
parent85b63bf5465f4cc6d2fd1472cb9e87c5b6719f63 (diff)
downloadirssi-0ce3f8243eb564063c66a1b32169109af17e4081.zip
Comments are now allowed everywhere in config files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/hilight-text.c')
-rw-r--r--src/fe-common/core/hilight-text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 7fa970bb..0bdda55f 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -399,7 +399,8 @@ static void read_hilight_config(void)
return;
}
- for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
+ tmp = config_node_first(node->value);
+ for (; tmp != NULL; tmp = config_node_next(tmp)) {
node = tmp->data;
if (node->type != NODE_TYPE_BLOCK)