fix up rename on windows

This commit is contained in:
Lee Thomason 2012-10-13 20:01:30 -07:00
parent 624d43fc05
commit 1aa8fc4a1e
1 changed files with 1 additions and 1 deletions

View File

@ -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;