SetAttribute: true/false rather 1/0

This commit is contained in:
Doruk Turak 2016-08-28 20:47:08 +02:00
parent 0bb5901961
commit de45d04711
1 changed files with 1 additions and 1 deletions

View File

@ -538,7 +538,7 @@ void XMLUtil::ToStr( unsigned v, char* buffer, int bufferSize )
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" );
}
/*