diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-26 16:50:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-26 16:50:14 +0000 |
commit | c992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 (patch) | |
tree | 697bdbf38a8a1f6b828a8bfbd08a478e19a82c6b /plugins/TabSRMM/chat | |
parent | f616294363c642d138f9dc0ef6eceae639e2434c (diff) |
- microkernel addded;
- version bumped to 0.92.2
git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/chat')
-rw-r--r-- | plugins/TabSRMM/chat/message.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/chat/tools.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/chat/message.cpp b/plugins/TabSRMM/chat/message.cpp index 0a7f56b594..d8682bb1da 100644 --- a/plugins/TabSRMM/chat/message.cpp +++ b/plugins/TabSRMM/chat/message.cpp @@ -294,7 +294,7 @@ TCHAR* Chat_DoRtfToTags(char* pszText, SESSION_INFO* si) }
mir_free(pIndex);
- ptszResult = M->utf8_decodeW(pszText);
+ ptszResult = mir_utf8decodeW(pszText);
return ptszResult;
}
diff --git a/plugins/TabSRMM/chat/tools.cpp b/plugins/TabSRMM/chat/tools.cpp index 3d8d54b381..04fba1aa40 100644 --- a/plugins/TabSRMM/chat/tools.cpp +++ b/plugins/TabSRMM/chat/tools.cpp @@ -1159,7 +1159,7 @@ TCHAR* a2tf(const TCHAR* str, int flags, DWORD cp) TCHAR *result;
if (cp == CP_UTF8)
- return(M->utf8_decodeW((char *)str));
+ return(mir_utf8decodeW((char *)str));
if (cp == 0)
cp = PluginConfig.m_LangPackCP; // CallService( MS_LANGPACK_GETCODEPAGE, 0, 0 );
@@ -1182,7 +1182,7 @@ static char* u2a(const wchar_t* src, DWORD cp) if (cp == 0)
cp = PluginConfig.m_LangPackCP;
else if (cp == CP_UTF8)
- return(M->utf8_encodeW(src));
+ return(mir_utf8encodeT(src));
cbLen = WideCharToMultiByte(cp, 0, src, -1, NULL, 0, NULL, NULL);
result = (char*)mir_alloc(cbLen + 1);
|