Sfoglia il codice sorgente

and the same fix in the test case

Lee Thomason 8 anni fa
parent
commit
e2d02e1623
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      xmltest.cpp

+ 1 - 1
xmltest.cpp

@@ -2036,7 +2036,7 @@ int main( int argc, const char ** argv )
 		for (int i=0; TESTS[i]; ++i) {
 			XMLDocument doc;
 			doc.LoadFile(TESTS[i]);
-			XMLTest("Stack overflow prevented.", XMLError::XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID());
+			XMLTest("Stack overflow prevented.", XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID());
 		}
 	}
 	{