summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-24 13:59:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-24 13:59:04 +0000
commit107471fac771abe5774d10769e36c0903a908685 (patch)
treead0a9d14281c1c017b3f4c6f95d41d65e738a985 /src/mir_core
parentd499d067c4e901c3d8750726405002fe033f4771 (diff)
mir_sntprintf & mir_snvtprintf renamed to mir_snwprintf & mir_snwprintf respectively
mir_sntprintf & mir_snvtprintf are now macros, as they should be from the very beginning git-svn-id: http://svn.miranda-ng.org/main/trunk@5466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/memory.cpp4
-rw-r--r--src/mir_core/mir_core.def4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_core/memory.cpp b/src/mir_core/memory.cpp
index 2f7467ccc4..ef3006aad3 100644
--- a/src/mir_core/memory.cpp
+++ b/src/mir_core/memory.cpp
@@ -208,7 +208,7 @@ MIR_CORE_DLL(int) mir_snprintf(char *buffer, size_t count, const char* fmt, ...)
/******************************************************************************/
-MIR_CORE_DLL(int) mir_sntprintf(TCHAR *buffer, size_t count, const TCHAR* fmt, ...)
+MIR_CORE_DLL(int) mir_snwprintf(WCHAR *buffer, size_t count, const WCHAR* fmt, ...)
{
va_list va;
int len;
@@ -233,7 +233,7 @@ MIR_CORE_DLL(int) mir_vsnprintf(char *buffer, size_t count, const char* fmt, va_
/******************************************************************************/
-MIR_CORE_DLL(int) mir_vsntprintf(TCHAR *buffer, size_t count, const TCHAR* fmt, va_list va)
+MIR_CORE_DLL(int) mir_vsnwprintf(WCHAR *buffer, size_t count, const WCHAR* fmt, va_list va)
{
int len = _vsntprintf(buffer, count-1, fmt, va);
buffer[count-1] = 0;
diff --git a/src/mir_core/mir_core.def b/src/mir_core/mir_core.def
index 35b7af1ad1..1423a8a086 100644
--- a/src/mir_core/mir_core.def
+++ b/src/mir_core/mir_core.def
@@ -99,13 +99,13 @@ mir_strndup @96
mir_u2a @97
mir_u2a_cp @98
mir_vsnprintf @99
-mir_vsntprintf @100
+mir_vsnwprintf @100
mir_wstrdup @101
rtrim @102
wildcmp @103
rtrimw @104
mir_snprintf @105
-mir_sntprintf @106
+mir_snwprintf @106
db_unset @107
db_free @108
db_get @109