commit | 6a79c17c878f43ef685093d4dfd6784d30aefd16 | [log] [tgz] |
---|---|---|
author | Dmitry-Me <wipedout@yandex.ru> | Tue Mar 31 12:18:17 2015 +0300 |
committer | Dmitry-Me <wipedout@yandex.ru> | Tue Mar 31 12:18:17 2015 +0300 |
tree | 7e66edd094cfc2dc9b9c1d27c5807dfd3e3b4821 | |
parent | 28c7c8c14f41f9ec4f673ecf11ae41976df147f7 [diff] [blame] |
Merge Print() calls
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index af8ba5f..7d43e5f 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -2203,9 +2203,7 @@ SealElementIfJustOpened(); if ( cdata ) { - Print( "<![CDATA[" ); - Print( "%s", text ); - Print( "]]>" ); + Print( "<![CDATA[%s]]>", text ); } else { PrintString( text, true );