diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-17 10:00:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-17 10:00:17 +0000 |
commit | be2dabbdefed00b5f9e6cc112fd2d95175da0089 (patch) | |
tree | d829073a727e01da06afd65343b29cb96d7aa79b /include/m_core.h | |
parent | f2d8ababda905068528b340345c74e7f56f6e364 (diff) |
oops... and mir_tstrndup too
git-svn-id: http://svn.miranda-ng.org/main/trunk@4067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_core.h')
-rw-r--r-- | include/m_core.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/m_core.h b/include/m_core.h index 6baf15d32e..9a969c5326 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -452,8 +452,9 @@ __forceinline char* lrtrimp(char* str) { return ltrimp(rtrim(str)); }; #define mir_t2u_cp(s,c) mir_wstrdup(s)
#define mir_u2t_cp(s,c) mir_wstrdup(s)
- #define mir_tstrdup mir_wstrdup
- #define replaceStrT replaceStrW
+ #define mir_tstrdup mir_wstrdup
+ #define mir_tstrndup mir_wstrndup
+ #define replaceStrT replaceStrW
#else
#define mir_t2a(s) mir_strdup(s)
#define mir_a2t(s) mir_strdup(s)
@@ -465,8 +466,9 @@ __forceinline char* lrtrimp(char* str) { return ltrimp(rtrim(str)); }; #define mir_t2u_cp(s,c) mir_a2u_cp(s,c)
#define mir_u2t_cp(s,c) mir_u2a_cp(s,c)
- #define mir_tstrdup mir_strdup
- #define replaceStrT replaceStr
+ #define mir_tstrdup mir_strdup
+ #define mir_tstrndup mir_strndup
+ #define replaceStrT replaceStr
#endif
MIR_CORE_DLL(WCHAR*) mir_a2u_cp(const char* src, int codepage);
|