diff --git a/tinyxml2.cpp b/tinyxml2.cpp index df84f77..a90be68 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp @@ -2635,8 +2635,6 @@ void XMLPrinter::OpenElement( const char* name, bool compactMode ) if ( _textDepth < 0 && !_firstElement && !compactMode ) { Putc( '\n' ); - } - if ( !compactMode ) { PrintSpace( _depth ); }