From d89dd2fe88191ce9b8ff0f68b93b45d00cff64b4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 13 Jun 2012 13:00:12 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Mwclist/cluiopts.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'plugins/Mwclist/cluiopts.cpp') diff --git a/plugins/Mwclist/cluiopts.cpp b/plugins/Mwclist/cluiopts.cpp index fe7762fe0b..33fc3abaf4 100644 --- a/plugins/Mwclist/cluiopts.cpp +++ b/plugins/Mwclist/cluiopts.cpp @@ -416,16 +416,13 @@ static INT_PTR CALLBACK DlgProcSBarOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L frameopt = frameopt & (~F_VISIBLE); - if (IsDlgButtonChecked(hwndDlg,IDC_SHOWSBAR)) - { + if (IsDlgButtonChecked(hwndDlg,IDC_SHOWSBAR)) { ShowWindow(pcli->hwndStatus,SW_SHOW); - frameopt|=F_VISIBLE; - } - else - { - ShowWindow(pcli->hwndStatus,SW_HIDE); + frameopt |= F_VISIBLE; } - CallService(MS_CLIST_FRAMES_SETFRAMEOPTIONS,MAKEWPARAM(FO_FLAGS,hFrameHelperStatusBar),frameopt); + else ShowWindow(pcli->hwndStatus,SW_HIDE); + + CallService(MS_CLIST_FRAMES_SETFRAMEOPTIONS,MAKEWPARAM(FO_FLAGS,hFrameHelperStatusBar),frameopt); SendMessage(pcli->hwndContactList,WM_SIZE,0,0); -- cgit v1.2.3