diff options
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);
|