summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/hilight-text.c')
-rw-r--r--src/fe-common/core/hilight-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 032dec69..796a482b 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -124,8 +124,8 @@ static void hilight_init_rec(HILIGHT_REC *rec)
void hilight_create(HILIGHT_REC *rec)
{
if (g_slist_find(hilights, rec) != NULL) {
- hilights = g_slist_remove(hilights, rec);
hilight_remove_config(rec);
+ hilights = g_slist_remove(hilights, rec);
}
hilights = g_slist_append(hilights, rec);