Lee Thomason 13 роки тому
батько
коміт
1aa8fc4a1e
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tinyxml2.cpp

+ 1 - 1
tinyxml2.cpp

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