aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 9d4da55..c498a69 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -102,7 +102,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event,
/* Interpret and shape, if not already done */
if ( e->top == NULL ) {
cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(widget));
- e->top = interp_and_shape(e->scblocks, e->stylesheets, NULL,
+ e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl,
e->is, ISZ_EDITOR, 0, cr);
cairo_destroy(cr);
}
@@ -276,7 +276,7 @@ static void full_rerender(SCEditor *e)
e->selection = NULL;
cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(GTK_WIDGET(e)));
- e->top = interp_and_shape(e->scblocks, e->stylesheets, NULL,
+ e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl,
e->is, ISZ_EDITOR, 0, cr);
cairo_destroy(cr);