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 ); } diff --git a/xmltest.cpp b/xmltest.cpp index 5a07547..028953e 100755 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -1290,7 +1290,7 @@ int main( int argc, const char ** argv ) } { - // trying to repro ]1874301]. If it doesn't go into an infinite loop, all is well. + // trying to repro [1874301]. If it doesn't go into an infinite loop, all is well. unsigned char buf[] = "