From: Cristy Date: Sun, 5 Jun 2016 14:17:23 +0000 (-0400) Subject: https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=29839 X-Git-Tag: 7.0.1-10~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c122b152de9d1f967dd5243fa55f5e415fa40f3;p=imagemagick https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=29839 --- diff --git a/coders/caption.c b/coders/caption.c index f8f26fc0c..6bdb69866 100644 --- a/coders/caption.c +++ b/coders/caption.c @@ -202,7 +202,7 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info, image=DestroyImageList(image); return((Image *) NULL); } - if (fabs(image_info->pointsize) < MagickEpsilon) + if ((fabs(image_info->pointsize) < MagickEpsilon) && (strlen(caption) > 0)) { double high,