Răsfoiți Sursa

Fix whitespaces in tinyxml2.cpp

Sarat Addepalli 10 ani în urmă
părinte
comite
2f0d173f94
1 a modificat fișierele cu 9 adăugiri și 9 ștergeri
  1. 9 9
      tinyxml2.cpp

+ 9 - 9
tinyxml2.cpp

@@ -886,18 +886,18 @@ char* XMLNode::ParseDeep( char* p, StrPair* parentEnd )
             }
             break;
         }
-        
+
         XMLElement* ele = node->ToDeclaration();
         if ( decl ) {
-        	// A declaration can only be the first child of a document.
-        	// Set error, if document already has children.
-        	if ( ! _document->NoChildren() ) {
-        		_document->SetError(XML_ERROR_PARSING_DECLARATION, decl->Value(), 0);
-        		DeleteNode( decl );
-        		break;
-        	}
+                // A declaration can only be the first child of a document.
+                // Set error, if document already has children.
+                if ( !_document->NoChildren() ) {
+                        _document->SetError( XML_ERROR_PARSING_DECLARATION, decl->Value(), 0);
+                        DeleteNode( decl );
+                        break;
+                }
         }
-        
+
         XMLElement* ele = node->ToElement();
         if ( ele ) {
             // We read the end tag. Return it to the parent.