aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-04-24 15:06:20 +0200
committerThomas White <taw@bitwiz.org.uk>2016-04-24 15:06:20 +0200
commite90d663864cb60067f90b964adc2686aba69e333 (patch)
tree0e02a4550cedd2dfc370c346b7596dc84ec61a2b /src/sc_editor.c
parentd8aca50e2ba6bfec052da5ab406899fa00fb607e (diff)
Fix slide numbers
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r--src/sc_editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c
index 251b154..7a89036 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -335,7 +335,8 @@ static void full_rerender(SCEditor *e)
pc = pango_cairo_create_context(cr);
e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl,
- e->is, ISZ_EDITOR, 0, cr, e->w, 0.0, e->lang);
+ e->is, ISZ_EDITOR, e->slidenum,
+ cr, e->w, 0.0, e->lang);
e->top->x = 0.0;
e->top->y = 0.0;