From aaae8d4b296e0030607f5f8338ce9255c51ed8e6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 7 Aug 2018 09:06:33 +0200 Subject: Fix find_replace --- src/stylesheet_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stylesheet_editor.c b/src/stylesheet_editor.c index 3c1cba7..66e8afa 100644 --- a/src/stylesheet_editor.c +++ b/src/stylesheet_editor.c @@ -75,7 +75,7 @@ static void find_replace(SCBlock *parent, const char *find, const char *seti) } else { /* Block not found -> create it */ - sc_block_append_inside(bl, strdup(find), strdup(seti), NULL); + sc_block_append_inside(parent, strdup(find), strdup(seti), NULL); } } -- cgit v1.2.3