]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 4 Mar 2014 12:39:39 +0000 (12:39 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 4 Mar 2014 12:39:39 +0000 (12:39 +0000)
coders/psd.c

index 28a36c8c905eb0fc8a8bfa00e6d349681126cd9e..a34a60312a71785339456c187e5c0b78e9b5083c 100644 (file)
@@ -2697,7 +2697,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%06ld",(long)
+            (void) FormatLocaleString(layer_name,MaxTextExtent,"L%03ld",(long)
               layer_count++);
             WritePascalString(image,layer_name,4);
           }