From a30011d4b7881cc9e55077ddd6b9686ce54c3343 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 25 Sep 2012 15:15:31 +0000 Subject: useless code removed git-svn-id: http://svn.miranda-ng.org/main/trunk@1654 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgs.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'plugins/TabSRMM/src/msgs.cpp') 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; -- cgit v1.2.3