From efb20d7cc28640a466dfd4feeb7450c8f2090357 Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Mon, 13 Sep 2004 19:02:02 +0000 Subject: Fix readded (changed) hilights being in config twice, resulted in duplicate hilights or removed hilights coming back (Bug 39) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3293 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/hilight-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fe-common/core/hilight-text.c') 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); -- cgit v1.2.3