Fix find_replace
authorThomas White <taw@bitwiz.me.uk>
Tue, 7 Aug 2018 07:06:33 +0000 (09:06 +0200)
committerThomas White <taw@bitwiz.me.uk>
Tue, 7 Aug 2018 07:06:33 +0000 (09:06 +0200)
src/stylesheet_editor.c

index 3c1cba7..66e8afa 100644 (file)
@@ -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);
 
        }
 }