aboutsummaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2018-03-30 23:57:15 +0200
committerThomas White <taw@bitwiz.me.uk>2018-03-30 23:57:15 +0200
commit57510a5330b09cd701bb0bb4cbbeca1d6d096737 (patch)
treea393a3f54a494156cb17a892354f539bc0087c10 /src/slideshow.c
parent65446ad85962bc79620026d50d8ad26954ced041 (diff)
Do all rendering one level higher
All rendering functions now render the contents of the given block, not the block itself. This makes everything consistent again with respect to where the frame SCBlock pointers point, even for the top frame.
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 3e33c3d..194befd 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -66,7 +66,7 @@ static void slideshow_rerender(SCSlideshow *ss)
stylesheets[1] = NULL;
n = slide_number(ss->p, ss->cur_slide);
- ss->surface = render_sc(sc_block_child(ss->cur_slide),
+ ss->surface = render_sc(ss->cur_slide,
ss->slide_width, ss->slide_height,
ss->p->slide_width, ss->p->slide_height,
stylesheets, NULL, ss->p->is, n,