aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-08-07 09:06:33 +0200
committerThomas White <taw@bitwiz.me.uk>2018-08-07 09:06:33 +0200
commitaaae8d4b296e0030607f5f8338ce9255c51ed8e6 (patch)
treebba6573d791a76b49eae88ec6678f233dcefb9a1
parent7b873527ac7fdb7398000b49195b9fa4ac1232a6 (diff)
Fix find_replace
-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);
}
}