diff options
Diffstat (limited to 'libstorycode/slide.c')
-rw-r--r-- | libstorycode/slide.c | 1 |
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--; |