From: cristy Date: Fri, 29 Aug 2014 14:21:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2055 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc94beb52f9fd01357dcc7536cd05c6821561f2b;p=imagemagick --- diff --git a/coders/psd.c b/coders/psd.c index 02838df48..a56080774 100644 --- a/coders/psd.c +++ b/coders/psd.c @@ -2746,7 +2746,7 @@ static MagickBooleanType WritePSDImage(const ImageInfo *image_info,Image *image, (void) WriteBlobMSBLong(image,16); (void) WriteBlobMSBLong(image,0); (void) WriteBlobMSBLong(image,0); - (void) FormatLocaleString(layer_name,MaxTextExtent,"L%03ld",(long) + (void) FormatLocaleString(layer_name,MaxTextExtent,"L%04ld",(long) layer_count++); WritePascalString(image,layer_name,4); }