aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.c
diff options
context:
space:
mode:
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;