aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-03-15 23:37:27 +0100
committerThomas White <taw@bitwiz.me.uk>2019-03-15 23:37:27 +0100
commit0e1f2f49f4d3b02901c8ba291a8ffb2605418db4 (patch)
treededb4e864a02cb8181f2b44d13891bafc91a12d4 /libstorycode/slide.c
parent44f874ed89b364bc0b60b35572f64fae44154733 (diff)
Initial GtkSlideView
Diffstat (limited to 'libstorycode/slide.c')
-rw-r--r--libstorycode/slide.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libstorycode/slide.c b/libstorycode/slide.c
index 694f29a..eaf5f4e 100644
--- a/libstorycode/slide.c
+++ b/libstorycode/slide.c
@@ -205,8 +205,7 @@ int slide_get_logical_size(Slide *s, Stylesheet *ss, double *w, double *h)
if ( s->logical_w < 0.0 ) {
/* Slide-specific value not set, use stylesheet */
- stylesheet_get_slide_default_size(ss, w, h);
- return 0;
+ return stylesheet_get_slide_default_size(ss, w, h);
}
*w = s->logical_w;