commit | de45d04711186b20d7e291fcb413f94d5fc46d9c | [log] [tgz] |
---|---|---|
author | Doruk Turak <Trebgarta@users.noreply.github.com> | Sun Aug 28 20:47:08 2016 +0200 |
committer | Doruk Turak <Trebgarta@users.noreply.github.com> | Sun Aug 28 20:47:08 2016 +0200 |
tree | a2e1f083a6b6811c27b2e528287d57bb101e7bca | |
parent | 0bb590196175b10e33ca4b8989966b5dfbb074d7 [diff] [blame] |
SetAttribute: true/false rather 1/0
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 9ef7bc4..118c60d 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -538,7 +538,7 @@ void XMLUtil::ToStr( bool v, char* buffer, int bufferSize ) { - TIXML_SNPRINTF( buffer, bufferSize, "%d", v ? 1 : 0 ); + TIXML_SNPRINTF( buffer, bufferSize, "%s", v ? "true" : "false" ); } /*