From 0445144cd6de0c8e1b940f6066b43f40437de18f Mon Sep 17 00:00:00 2001 From: dirk Date: Sun, 15 May 2016 08:33:28 +0200 Subject: [PATCH] Fixed replacing " under Windows. --- MagickCore/delegate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MagickCore/delegate.c b/MagickCore/delegate.c index 146c32d50..40ecb4975 100644 --- a/MagickCore/delegate.c +++ b/MagickCore/delegate.c @@ -2188,9 +2188,11 @@ static MagickBooleanType LoadDelegateCache(LinkedListInfo *delegate_cache, path); (void) SubstituteString((char **) &commands,"\\","/"); } + (void) SubstituteString((char **) &commands,""","\""); +#else + (void) SubstituteString((char **) &commands,""","'"); #endif (void) SubstituteString((char **) &commands,"&","&"); - (void) SubstituteString((char **) &commands,""","'"); (void) SubstituteString((char **) &commands,">",">"); (void) SubstituteString((char **) &commands,"<","<"); delegate_info->commands=commands; -- 2.40.0