aboutsummaryrefslogtreecommitdiff
path: root/src/sc_editor.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-04-28 22:01:15 +0200
committerThomas White <taw@bitwiz.org.uk>2016-04-28 22:01:15 +0200
commitcec7f1f7b8abc32eaff06e9116af2a38ba67f9bd (patch)
tree3d40759fab19f6b45e51333d58c0974be739f417 /src/sc_editor.c
parent9cf3a70f71dbcebf76597880c0b998a49c95bf7c (diff)
Fix slide number the first time the slide window is opened
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 941c822..1d1e381 100644
--- a/src/sc_editor.c
+++ b/src/sc_editor.c
@@ -143,8 +143,8 @@ static gboolean resize_sig(GtkWidget *widget, GdkEventConfigure *event,
h = e->log_h;
}
e->top = interp_and_shape(e->scblocks, e->stylesheets, e->cbl,
- e->is, ISZ_EDITOR, 0, cr, w, h,
- e->lang);
+ e->is, ISZ_EDITOR, e->slidenum, cr,
+ w, h, e->lang);
recursive_wrap(e->top, pc);
}