mirror of https://github.com/AxioDL/tinyxml2.git
Fix whitespaces in tinyxml2.cpp
This commit is contained in:
parent
a0f499dda1
commit
2f0d173f94
|
@ -891,8 +891,8 @@ char* XMLNode::ParseDeep( char* p, StrPair* parentEnd )
|
||||||
if ( decl ) {
|
if ( decl ) {
|
||||||
// A declaration can only be the first child of a document.
|
// A declaration can only be the first child of a document.
|
||||||
// Set error, if document already has children.
|
// Set error, if document already has children.
|
||||||
if ( ! _document->NoChildren() ) {
|
if ( !_document->NoChildren() ) {
|
||||||
_document->SetError(XML_ERROR_PARSING_DECLARATION, decl->Value(), 0);
|
_document->SetError( XML_ERROR_PARSING_DECLARATION, decl->Value(), 0);
|
||||||
DeleteNode( decl );
|
DeleteNode( decl );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue