aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2017-02-08 05:36:14 +0100
committerThomas White <taw@bitwiz.org.uk>2017-02-08 05:36:14 +0100
commit3433214be95736ec537f93f49c6189f4b37b3330 (patch)
tree9c074ecbf428b9a9f7eb22f72f359f51ebf1ef55 /src/narrative_window.c
parent930ad5b26c04363727ed2b5aa11e071ed8293c72 (diff)
Substitution fixes
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 04f42c7..ec5d956 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -273,14 +273,14 @@ static gint load_ss_response_sig(GtkWidget *d, gint response,
SCBlock **stylesheets;
- /* Substitute the style sheet */
- replace_stylesheet(nw->p, ss);
-
stylesheets = get_ss_list(nw->p);
sc_editor_set_stylesheets(nw->sceditor,
stylesheets);
free(stylesheets);
+ /* Substitute the style sheet */
+ replace_stylesheet(nw->p, ss);
+
/* Full rerender, first block may have
* changed */
sc_editor_set_scblock(nw->sceditor,