Переглянути джерело

Merge pull request #466 from Dmitry-Me/makeCommentMoreConcise

Make comment more concise
Lee Thomason 9 роки тому
батько
коміт
0bb5901961
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

@@ -739,7 +739,7 @@ XMLNode::~XMLNode()
 
 
 const char* XMLNode::Value() const 
 const char* XMLNode::Value() const 
 {
 {
-    // Catch an edge case: XMLDocuments don't have a a Value. Carefully return nullptr.
+    // Edge case: XMLDocuments don't have a Value. Return null.
     if ( this->ToDocument() )
     if ( this->ToDocument() )
         return 0;
         return 0;
     return _value.GetStr();
     return _value.GetStr();