diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-29 07:20:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-29 07:20:54 +0000 |
commit | 6e05bfee48c12fcbe2a4533b47d56a58c91c3424 (patch) | |
tree | e43496309f789d9aa4edc72fb33b71203f6dcb52 /plugins/TabSRMM/src/msgs.cpp | |
parent | 4288888f3d2e05dddcd953e891e97b98bf008b55 (diff) |
no need load dll when lib linked
old code about chat.dll removed from tabsrmm
git-svn-id: http://svn.miranda-ng.org/main/trunk@6266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 1e1981aebb..f641f149c3 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -60,8 +60,7 @@ int IEViewOptionsChanged(WPARAM,LPARAM) int SmileyAddOptionsChanged(WPARAM,LPARAM)
{
M.BroadcastMessage(DM_SMILEYOPTIONSCHANGED, 0, 0);
- if (PluginConfig.m_chat_enabled)
- SM_BroadcastMessage(NULL, DM_SMILEYOPTIONSCHANGED, 0, 0, FALSE);
+ SM_BroadcastMessage(NULL, DM_SMILEYOPTIONSCHANGED, 0, 0, FALSE);
return 0;
}
@@ -503,8 +502,7 @@ int IcoLibIconsChanged(WPARAM wParam, LPARAM lParam) {
LoadFromIconLib();
CacheMsgLogIcons();
- if (PluginConfig.m_chat_enabled)
- Chat_IconsChanged(wParam, lParam);
+ Chat_IconsChanged(wParam, lParam);
return 0;
}
@@ -514,8 +512,7 @@ int IconsChanged(WPARAM wParam, LPARAM lParam) CacheMsgLogIcons();
M.BroadcastMessage(DM_OPTIONSAPPLIED, 0, 0);
M.BroadcastMessage(DM_UPDATEWINICON, 0, 0);
- if (PluginConfig.m_chat_enabled)
- Chat_IconsChanged(wParam, lParam);
+ Chat_IconsChanged(wParam, lParam);
return 0;
}
@@ -1034,8 +1031,7 @@ static int TSAPI SetupIconLibConfig() }
GetModuleFileName(g_hIconDLL, szFilename, MAX_PATH);
- if (PluginConfig.m_chat_enabled)
- Chat_AddIcons();
+ Chat_AddIcons();
version = GetIconPackVersion(g_hIconDLL);
FreeLibrary(g_hIconDLL);
g_hIconDLL = 0;
|