From ad7bdf9ed26d5a46368aac164694e76e52d02209 Mon Sep 17 00:00:00 2001 From: Alanscut Date: Sat, 21 Sep 2019 15:51:14 +0800 Subject: [PATCH] fix issue#712 --- tinyxml2.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 6b79917..0e6fb95 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 ); }