]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 6 Jan 2013 15:28:23 +0000 (15:28 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 6 Jan 2013 15:28:23 +0000 (15:28 +0000)
MagickCore/display.c

index 2d10c28e8fc9452068ff621dc49f1a1df9a1bb20..a1a0ec6ac7e5bd464433c73a37a957fcbc97797a 100644 (file)
@@ -12563,8 +12563,6 @@ static MagickBooleanType XSaveImage(Display *display,
       GetPathComponent(image->filename,TailPath,filename);
       if (*path != '\0')
         {
-          if (*path == '\0')
-            (void) CopyMagickString(path,".",MaxTextExtent);
           status=chdir(path);
           if (status == -1)
             (void) ThrowMagickException(exception,GetMagickModule(),