From: cristy Date: Wed, 15 Apr 2015 22:36:16 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1093 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58a33836a139776aab5f22c0fa3377a9b2b1b582;p=imagemagick --- diff --git a/MagickCore/utility.c b/MagickCore/utility.c index e980da910..58225336d 100644 --- a/MagickCore/utility.c +++ b/MagickCore/utility.c @@ -281,7 +281,8 @@ MagickExport void AppendImageFormat(const char *format,char *filename) char message[MagickPathExtent]; - (void) FormatLocaleString(message,MagickPathExtent,"%s:%s",format,filename); + (void) FormatLocaleString(message,MagickPathExtent,"%s:%s",format, + filename); (void) CopyMagickString(filename,message,MagickPathExtent); return; } @@ -295,8 +296,8 @@ MagickExport void AppendImageFormat(const char *format,char *filename) GetPathComponent(filename,RootPath,root); (void) CopyMagickString(filename,root,MagickPathExtent); GetPathComponent(filename,RootPath,root); - (void) FormatLocaleString(filename,MagickPathExtent,"%s.%s.%s",root,format, - extension); + (void) FormatLocaleString(filename,MagickPathExtent,"%s.%s.%s",root, + format,extension); return; } GetPathComponent(filename,RootPath,root); @@ -980,8 +981,8 @@ MagickPrivate MagickBooleanType GetExecutionPath(char *path,const size_t extent) #if defined(MAGICKCORE_HAVE_GETPID) && defined(MAGICKCORE_HAVE_READLINK) && defined(PATH_MAX) { char - link_path[MagickPathExtent], - execution_path[PATH_MAX+1]; + execution_path[PATH_MAX+1], + link_path[MagickPathExtent]; ssize_t count;