summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-05 20:08:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-05 20:08:43 +0000
commit35a9af527f9b7ec35e81455784cd0a795be910c5 (patch)
tree7a562aa27d45a54e143d732452bfc62ad2d242c7 /plugins/Clist_modern/src
parent81dc8462ddae0555821a6093bda8a67fe6bb504e (diff)
- removed duplicate constants;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2211 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index 872cb6e165..9a8c0324d3 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -2233,7 +2233,7 @@ LRESULT CLUI::OnCreate( UINT msg, WPARAM wParam, LPARAM lParam )
DrawMenuBar(m_hWnd);
CLUIServices_ProtocolStatusChanged(0,0);
- { MENUITEMINFO mii;
+ MENUITEMINFO mii;
ZeroMemory(&mii,sizeof(mii));
mii.cbSize = MENUITEMINFO_V4_SIZE;
mii.fMask = MIIM_TYPE|MIIM_DATA;
@@ -2251,9 +2251,7 @@ LRESULT CLUI::OnCreate( UINT msg, WPARAM wParam, LPARAM lParam )
mii.fType = MFT_OWNERDRAW;
mii.dwItemData = MENU_MINIMIZE;
SetMenuItemInfo(GetMenu(m_hWnd),2,TRUE,&mii);
- }
- //PostMessage(m_hWnd, M_CREATECLC, 0, 0);
- //pcli->hwndContactList = m_hWnd;
+
uMsgGetProfile = RegisterWindowMessage(_T("Miranda::GetProfile")); // don't localise
bTransparentFocus = 1;
return FALSE;