From: cristy Date: Sun, 28 Apr 2013 17:08:53 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~3790 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab5fbd81790e50369d62b3e091e86ef8e289fbac;p=imagemagick --- diff --git a/MagickCore/property.c b/MagickCore/property.c index a6bd55dca..c62a778d8 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -2407,7 +2407,8 @@ static const char *GetMagickPropertyLetter(const ImageInfo *image_info, string="0"; #else (void) FormatLocaleString(value,MaxTextExtent,"%.20g",(double) - image_info->number_scenes); + (image_info->number_scenes == 0 ? 2147483647 : + image_info->number_scenes)); #endif break; }