summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index 3d28031054..58c58f38e7 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -114,8 +114,6 @@ void CGlobals::reloadSystemStartup()
*/
void CGlobals::reloadSystemModulesChanged()
{
- m_MathModAvail = ServiceExists(MATH_RTF_REPLACE_FORMULAE);
-
/*
* smiley add
*/
@@ -127,7 +125,6 @@ void CGlobals::reloadSystemModulesChanged()
/*
* Flashavatars
*/
-
g_FlashAvatarAvail = (ServiceExists(MS_FAVATAR_GETINFO) ? 1 : 0);
/*
@@ -146,15 +143,6 @@ void CGlobals::reloadSystemModulesChanged()
g_iButtonsBarGap = M.GetByte("ButtonsBarGap", 1);
m_hwndClist = (HWND)CallService(MS_CLUI_GETHWND, 0, 0);
- m_MathModAvail = (ServiceExists(MATH_RTF_REPLACE_FORMULAE) ? 1 : 0);
- if (m_MathModAvail) {
- char *szDelim = (char *)CallService(MATH_GET_STARTDELIMITER, 0, 0);
- if (szDelim) {
- MultiByteToWideChar(CP_ACP, 0, szDelim, -1, PluginConfig.m_MathModStartDelimiter, SIZEOF(PluginConfig.m_MathModStartDelimiter));
- CallService(MTH_FREE_MATH_BUFFER, 0, (LPARAM)szDelim);
- }
- }
- else PluginConfig.m_MathModStartDelimiter[0] = 0;
g_MetaContactsAvail = (ServiceExists(MS_MC_GETDEFAULTCONTACT) ? 1 : 0);