diff options
author | dartraiden <wowemuh@gmail.com> | 2018-07-11 12:02:31 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2018-07-11 12:02:31 +0300 |
commit | c18f6a759e288ff1e282b74ce22a994f37e169a3 (patch) | |
tree | cf3b247190d44ad238187d4ddb4e3f1e13168b39 /plugins/StatusManager | |
parent | 1886d6594c2c45208fca9bb9537185eb63e94df4 (diff) |
remove redundant brackets
Diffstat (limited to 'plugins/StatusManager')
-rw-r--r-- | plugins/StatusManager/src/confirmdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/confirmdialog.cpp b/plugins/StatusManager/src/confirmdialog.cpp index c784102d9e..2d8a275673 100644 --- a/plugins/StatusManager/src/confirmdialog.cpp +++ b/plugins/StatusManager/src/confirmdialog.cpp @@ -340,7 +340,7 @@ static INT_PTR CALLBACK ConfirmDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP for (auto &it : statusModes) { int pf5 = CallProtoService(proto->m_szName, PS_GETCAPS, PFLAGNUM_5, 0); - if (((flags & it.iFlag) || it.iFlag == PF2_OFFLINE) && (!((!(flags) & Proto_Status2Flag(it.iFlag))) || (pf5 & Proto_Status2Flag(it.iFlag)))) { + if (((flags & it.iFlag) || it.iFlag == PF2_OFFLINE) && (!(!(flags) & Proto_Status2Flag(it.iFlag)) || (pf5 & Proto_Status2Flag(it.iFlag)))) { wchar_t *statusMode = Clist_GetStatusModeDescription(it.iStatus, 0); item = SendDlgItemMessage(hwndDlg, IDC_STATUS, CB_ADDSTRING, 0, (LPARAM)statusMode); SendDlgItemMessage(hwndDlg, IDC_STATUS, CB_SETITEMDATA, item, it.iStatus); |