summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-25 15:15:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-25 15:15:31 +0000
commita30011d4b7881cc9e55077ddd6b9686ce54c3343 (patch)
tree2f1af51b67a293b2c9cf851fa519a242b820fa1e /plugins/TabSRMM
parent3931357b9e97885153cf732ea1b85b8118834c14 (diff)
useless code removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1654 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index d9dc482cc7..8df0d1aac6 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -567,18 +567,16 @@ static void TSAPI InitAPI()
int LoadSendRecvMessageModule(void)
{
- INITCOMMONCONTROLSEX icex;
-
if (FIF == 0) {
MessageBox(0, TranslateT("The image service plugin (advaimg.dll) is not properly installed.\n\nTabSRMM is disabled."), TranslateT("TabSRMM fatal error"), MB_OK | MB_ICONERROR);
return 1;
}
+
+ INITCOMMONCONTROLSEX icex;
icex.dwSize = sizeof(INITCOMMONCONTROLSEX);
- icex.dwICC = ICC_COOL_CLASSES | ICC_BAR_CLASSES | ICC_LISTVIEW_CLASSES;;
+ icex.dwICC = ICC_COOL_CLASSES | ICC_BAR_CLASSES | ICC_LISTVIEW_CLASSES;;
InitCommonControlsEx(&icex);
- Utils::loadSystemLibrary(L"\\riched20.dll");
-
OleInitialize(NULL);
mREOLECallback = new REOLECallback;
Win7Taskbar = new CTaskbarInteract;