mirror of https://github.com/AxioDL/tinyxml2.git
SetAttribute: true/false rather 1/0
This commit is contained in:
parent
0bb5901961
commit
de45d04711
|
@ -538,7 +538,7 @@ void XMLUtil::ToStr( unsigned v, char* buffer, int bufferSize )
|
||||||
|
|
||||||
void XMLUtil::ToStr( bool 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" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue