mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-06-06 14:43:46 +00:00
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 );
|
len = vsnprintf_s( _accumulator.Mem(), _accumulator.Capacity(), _TRUNCATE, format, va );
|
||||||
if ( len < 0 ) {
|
if ( len < 0 ) {
|
||||||
expand *= 3/2;
|
expand *= 3/2;
|
||||||
accumulator.PushArr( expand );
|
_accumulator.PushArr( expand );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
char* p = _buffer.PushArr( len ) - 1;
|
char* p = _buffer.PushArr( len ) - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user