aboutsummaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-04-24 11:38:44 +0200
committerThomas White <taw@bitwiz.org.uk>2016-04-24 11:38:44 +0200
commitf48bebb3c4ad6941941ec889ce8b1c5f15c9a1c1 (patch)
tree506c78ddc00611aa55f664157ed7924251a98905 /src/slideshow.c
parentfff161db9febf4035782f12aab8b3e0f38fd7c79 (diff)
Fix slide changing with empty slide
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index 6a8faf9..b1287e1 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -82,7 +82,7 @@ void slideshow_rerender(SlideShow *ss)
stylesheets[1] = NULL;
n = slide_number(ss->p, ss->cur_slide);
- ss->surface = render_sc(ss->cur_slide,
+ ss->surface = render_sc(sc_block_child(ss->cur_slide),
ss->slide_width, ss->slide_height,
ss->p->slide_width, ss->p->slide_height,
stylesheets, NULL, ss->p->is, ISZ_SLIDESHOW, n,