summaryrefslogtreecommitdiff
path: root/plugins/mTextControl/src/richeditutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mTextControl/src/richeditutils.cpp')
-rw-r--r--plugins/mTextControl/src/richeditutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mTextControl/src/richeditutils.cpp b/plugins/mTextControl/src/richeditutils.cpp
index 3f3614dc1b..442e512d4e 100644
--- a/plugins/mTextControl/src/richeditutils.cpp
+++ b/plugins/mTextControl/src/richeditutils.cpp
@@ -77,7 +77,7 @@ public:
HRESULT STDMETHODCALLTYPE GetNewStorage(LPSTORAGE * lplpstg)
{
wchar_t sztName[64];
- mir_sntprintf(sztName, L"s%u", this->nextStgId);
+ mir_snwprintf(sztName, L"s%u", this->nextStgId);
if (this->pictStg == NULL)
return STG_E_MEDIUMFULL;