]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Wed, 21 Feb 2018 17:37:14 +0000 (12:37 -0500)
committerCristy <urban-warrior@imagemagick.org>
Wed, 21 Feb 2018 17:37:14 +0000 (12:37 -0500)
MagickCore/xml-tree.c

index d9e4f11b0daa625b39b267269cde00601bb77a89..0cfb025394c06b951fab3f005ed537c9fca84790 100644 (file)
@@ -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);