summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/text/wince/TextCodecWinCE.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/text/wince/TextCodecWinCE.cpp')
-rw-r--r--WebCore/platform/text/wince/TextCodecWinCE.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/text/wince/TextCodecWinCE.cpp b/WebCore/platform/text/wince/TextCodecWinCE.cpp
index 499035f..da6d5a5 100644
--- a/WebCore/platform/text/wince/TextCodecWinCE.cpp
+++ b/WebCore/platform/text/wince/TextCodecWinCE.cpp
@@ -33,6 +33,7 @@
#include <wtf/HashMap.h>
#include <wtf/HashSet.h>
#include <wtf/text/CString.h>
+#include <wtf/text/StringConcatenate.h>
#include <wtf/text/StringHash.h>
#include <wtf/unicode/UTF8.h>
@@ -110,7 +111,7 @@ LanguageManager::LanguageManager()
info.m_aliases.append(name);
info.m_aliases.append(String(cpInfo.wszHeaderCharset).latin1());
info.m_aliases.append(String(cpInfo.wszBodyCharset).latin1());
- String cpName = String::format("cp%d", cpInfo.uiCodePage);
+ String cpName = makeString("cp", String::number(cpInfo.uiCodePage));
info.m_aliases.append(cpName.latin1());
supportedCharsets().add(i->second.data());
}