Explorar o código

Merge pull request #612 from Dmitry-Me/fixMisleadingComment

Fix misleading comment
Lee Thomason %!s(int64=8) %!d(string=hai) anos
pai
achega
da24c3b221
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      xmltest.cpp

+ 2 - 1
xmltest.cpp

@@ -1909,7 +1909,8 @@ int main( int argc, const char ** argv )
 
     {
 	    // No matter - before or after successfully parsing a text -
-	    // calling XMLDocument::Value() causes an assert in debug.
+	    // calling XMLDocument::Value() used to cause an assert in debug.
+	    // Null must be retured.
 	    const char* validXml = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>"
 	                           "<first />"
 	                           "<second />";