瀏覽代碼

Merge pull request #773 from Alanscut/fix_issue712

fix issue#712
Lee Thomason 6 年之前
父節點
當前提交
20f2d5eec7
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tinyxml2.cpp

+ 0 - 2
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 );
     }