summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/chat
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/chat')
-rw-r--r--plugins/TabSRMM/chat/message.cpp2
-rw-r--r--plugins/TabSRMM/chat/tools.cpp4
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);