diff options
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index abdebe0..7099209 100644 --- a/src/frame.c +++ b/src/frame.c @@ -505,6 +505,11 @@ void add_image_para(struct frame *fr, SCBlock *scblock, const char *filename, Paragraph *pnew; int wi, hi; + if ( is == NULL ) { + fprintf(stderr, "Adding image without ImageStore!\n"); + return; + } + pnew = create_paragraph(fr); if ( pnew == NULL ) { fprintf(stderr, "Failed to add image paragraph\n"); |