summaryrefslogtreecommitdiff
path: root/coders/dot.c
diff options
context:
space:
mode:
Diffstat (limited to 'coders/dot.c')
-rw-r--r--coders/dot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coders/dot.c b/coders/dot.c
index 252308cd3..4e0084bbc 100644
--- a/coders/dot.c
+++ b/coders/dot.c
@@ -159,7 +159,7 @@ static Image *ReadDOTImage(const ImageInfo *image_info,ExceptionInfo *exception)
/*
Read SVG graph.
*/
- (void) CopyMagickString(read_info->magick,"SVG",MaxTextExtent);
+ (void) CopyMagickString(read_info->magick,"SVG",MagickPathExtent);
image=ReadImage(read_info,exception);
(void) RelinquishUniqueFileResource(read_info->filename);
read_info=DestroyImageInfo(read_info);