Commit 312bb28b authored by robert@webkit.org's avatar robert@webkit.org
Browse files

Fix compile failure in r66843

Revert to original patch in bugzilla. Leave bug open for
discussion on potential removal of double utf8 conversion.

https://bugs.webkit.org/show_bug.cgi?id=45240

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66844 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 27aeb88f
2010-09-06 Robert Hogan <robert@webkit.org>
Unreviewed, compile fix.
Fix compile failure in r66843
Revert to original patch in bugzilla. Leave bug open for
discussion on potential removal of double utf8 conversion.
https://bugs.webkit.org/show_bug.cgi?id=45240
* wtf/text/WTFString.cpp:
(WTF::String::format):
2010-09-06 Robert Hogan <robert@webkit.org>
Reviewed by Andreas Kling.
......
......@@ -335,7 +335,7 @@ String String::format(const char *format, ...)
va_end(args);
return StringImpl::create(buffer.constData(), buffer.length());
return StringImpl::create(buffer.toUtf8().constData(), buffer.toUtf8().length());
#elif OS(WINCE)
va_list args;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment