summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-common/core/hilight-text.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index c5b301c7..ea6a4940 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -458,7 +458,10 @@ static void read_hilight_config(void)
hilights_destroy_all();
node = iconfig_node_traverse("hilights", FALSE);
- if (node == NULL) return;
+ if (node == NULL) {
+ reset_cache();
+ return;
+ }
for (tmp = node->value; tmp != NULL; tmp = tmp->next) {
node = tmp->data;