From: cristy Date: Sun, 6 Jan 2013 15:28:23 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4487 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=faff11138eba7bcee0630e2df69fa640665c41f2;p=imagemagick --- diff --git a/MagickCore/display.c b/MagickCore/display.c index 2d10c28e8..a1a0ec6ac 100644 --- a/MagickCore/display.c +++ b/MagickCore/display.c @@ -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(),