- Timestamp:
- 08/15/08 13:25:16 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/OWBAL/Concretizations/Internationalization/WK/BCStringWK.cpp
r433 r437 314 314 String String::format(const char *format, ...) 315 315 { 316 #if PLATFORM(QT) 317 // Use QString::vsprintf to avoid the locale dependent formatting of vsnprintf. 318 // https://bugs.webkit.org/show_bug.cgi?id=18994 319 va_list args; 320 va_start(args, format); 321 322 QString buffer; 323 buffer.vsprintf(format, args); 324 325 va_end(args); 326 327 return buffer; 328 #else 316 329 va_list args; 317 330 va_start(args, format); … … 348 361 349 362 return StringImpl::create(buffer.data(), len); 363 #endif 350 364 } 351 365
