webengine/osswebengine/WebCore/platform/DeprecatedString.cpp
changeset 11 c8a366e56285
parent 10 a359256acfc6
equal deleted inserted replaced
10:a359256acfc6 11:c8a366e56285
  1801     va_start(args, format);
  1801     va_start(args, format);
  1802     
  1802     
  1803     // Do the format once to get the length.
  1803     // Do the format once to get the length.
  1804 #if COMPILER(MSVC) 
  1804 #if COMPILER(MSVC) 
  1805     int result = _vscprintf(format, args);
  1805     int result = _vscprintf(format, args);
       
  1806 #elif PLATFORM(SYMBIAN)
       
  1807     Vector<char, 256> buffer;
       
  1808     buffer.resize(256);
       
  1809     int result = vsnprintf(buffer.data(), buffer.size()-1, format, args);
  1806 #else
  1810 #else
  1807     char ch;
  1811     char ch;
  1808     int result = vsnprintf(&ch, 1, format, args);
  1812     int result = vsnprintf(&ch, 1, format, args);
  1809 #endif
  1813 #endif
  1810     
  1814