Просмотр исходного кода

Merge pull request #466 from Dmitry-Me/makeCommentMoreConcise

Make comment more concise
Lee Thomason 9 лет назад
Родитель
Сommit
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();