aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stylesheet_editor.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}