From faff11138eba7bcee0630e2df69fa640665c41f2 Mon Sep 17 00:00:00 2001 From: cristy Date: Sun, 6 Jan 2013 15:28:23 +0000 Subject: [PATCH] --- MagickCore/display.c | 2 -- 1 file changed, 2 deletions(-) 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(), -- 2.40.0