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 5fdcc07..e0fc64c 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -195,7 +195,7 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event,
w = e->log_w;
h = e->log_h;
}
- e->top = interp_and_shape(sc_block_child(e->scblocks),
+ e->top = interp_and_shape(e->scblocks,
e->stylesheets, e->cbl,
e->is, e->slidenum, pc,
w, h, e->lang);
@@ -396,7 +396,7 @@ static void full_rerender(SCEditor *e)
pc = gdk_pango_context_get();
- e->top = interp_and_shape(sc_block_child(e->scblocks),
+ e->top = interp_and_shape(e->scblocks,
e->stylesheets, e->cbl,
e->is, e->slidenum,
pc, e->log_w, 0.0, e->lang);