mirror of https://github.com/AxioDL/tinyxml2.git
fix up rename on windows
This commit is contained in:
parent
624d43fc05
commit
1aa8fc4a1e
|
@ -1762,7 +1762,7 @@ void XMLPrinter::Print( const char* format, ... )
|
|||
len = vsnprintf_s( _accumulator.Mem(), _accumulator.Capacity(), _TRUNCATE, format, va );
|
||||
if ( len < 0 ) {
|
||||
expand *= 3/2;
|
||||
accumulator.PushArr( expand );
|
||||
_accumulator.PushArr( expand );
|
||||
}
|
||||
}
|
||||
char* p = _buffer.PushArr( len ) - 1;
|
||||
|
|
Loading…
Reference in New Issue