From: Cristy Date: Wed, 21 Feb 2018 17:37:14 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-24~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c6ce46d7e22a3801cafe6bc8f9aeccc734e9859;p=imagemagick ... --- diff --git a/MagickCore/xml-tree.c b/MagickCore/xml-tree.c index d9e4f11b0..0cfb02539 100644 --- a/MagickCore/xml-tree.c +++ b/MagickCore/xml-tree.c @@ -2184,8 +2184,8 @@ MagickExport XMLTreeInfo *NewXMLTree(const char *xml,ExceptionInfo *exception) return(&root->root); } *p='\0'; - if (ignore_depth == 0 && ParseCloseTag(root,tag,exception) != - (XMLTreeInfo *) NULL) + if ((ignore_depth == 0) && + (ParseCloseTag(root,tag,exception) != (XMLTreeInfo *) NULL)) { utf8=DestroyString(utf8); return(&root->root);