diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-13 13:00:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-13 13:00:12 +0000 |
commit | d89dd2fe88191ce9b8ff0f68b93b45d00cff64b4 (patch) | |
tree | b8541b46c88ec3c2902fa99e047cee717cdcaf73 /plugins/Mwclist/cluiopts.cpp | |
parent | de5eb083cd53451b14991b6c61474bad3b9a5249 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Mwclist/cluiopts.cpp')
-rw-r--r-- | plugins/Mwclist/cluiopts.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
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);
|