aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/slide.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-03-04 23:46:47 +0100
committerThomas White <taw@bitwiz.me.uk>2019-03-04 23:46:47 +0100
commit915fcacee4c49f017ab2599b4307198ca3f713d3 (patch)
treeed4c7a8f8aec7327934f86d9f3100f982ee1d624 /libstorycode/slide.c
parent373d5183849c2855345ea45c964479086d67a7d2 (diff)
Thumbnail slide rendering in narrative
Diffstat (limited to 'libstorycode/slide.c')
-rw-r--r--libstorycode/slide.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libstorycode/slide.c b/libstorycode/slide.c
index 9db5995..694f29a 100644
--- a/libstorycode/slide.c
+++ b/libstorycode/slide.c
@@ -87,6 +87,7 @@ int add_text_item(Slide *s, char **text, int n_text, struct frame_geom geom,
if ( item == NULL ) return 1;
item->type = slide_item;
+ item->layouts = NULL;
item->paragraphs = malloc(n_text*sizeof(char *));
if ( item->paragraphs == NULL ) {
s->n_items--;