diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-22 13:05:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-22 13:05:16 +0300 |
commit | 15ec0ca34f58fde27fb8dd70f984818e0ddb38e5 (patch) | |
tree | 1a9ae8bb1d95e84bbf22b733fdece627849724b8 /src/mir_core | |
parent | df9b7d54afd36777e78095cc4f1ee866398046a3 (diff) |
code cleaning
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/src/memory.cpp b/src/mir_core/src/memory.cpp index 6c5456f30c..b7024af2b6 100644 --- a/src/mir_core/src/memory.cpp +++ b/src/mir_core/src/memory.cpp @@ -212,7 +212,7 @@ MIR_CORE_DLL(int) mir_snwprintf(wchar_t *buffer, size_t count, const wchar_t* fm {
va_list va;
va_start(va, fmt);
- int len = _vsntprintf(buffer, count-1, fmt, va);
+ int len = _vsnwprintf(buffer, count-1, fmt, va);
va_end(va);
buffer[count-1] = 0;
return len;
@@ -231,7 +231,7 @@ MIR_CORE_DLL(int) mir_vsnprintf(char *buffer, size_t count, const char* fmt, va_ MIR_CORE_DLL(int) mir_vsnwprintf(wchar_t *buffer, size_t count, const wchar_t* fmt, va_list va)
{
- int len = _vsntprintf(buffer, count-1, fmt, va);
+ int len = _vsnwprintf(buffer, count-1, fmt, va);
buffer[count-1] = 0;
return len;
}
|