diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-14 17:23:11 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-14 17:23:11 +0300 |
commit | e76a4df48aa890a0e466c10f8bf6c40438ffb92a (patch) | |
tree | 1b5b8bff4581962a5550f5f38b712528676b086b /src | |
parent | de4f7cf61e6d2f27958b92939ed58bbb2c27c118 (diff) |
code cleaning
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/proto_opts.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/proto_order.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/protocols.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp index 9304606d33..ab86295d9e 100644 --- a/src/mir_app/src/proto_opts.cpp +++ b/src/mir_app/src/proto_opts.cpp @@ -716,7 +716,7 @@ BOOL CAccountListCtrl::OnDrawItem(DRAWITEMSTRUCT *lps) lps->rcItem.top += sz.cy + 2;
if (acc->ppro && Proto_IsProtocolLoaded(acc->szProtoName)) {
- wchar_t *wszIdName = (wchar_t *)acc->ppro->GetCaps(PFLAG_UNIQUEIDTEXT, 0);
+ wchar_t *wszIdName = (wchar_t *)acc->ppro->GetCaps(PFLAG_UNIQUEIDTEXT);
if (wszIdName == nullptr || (UINT_PTR)wszIdName == CALLSERVICE_NOTFOUND)
wszIdName = TranslateT("Account ID");
diff --git a/src/mir_app/src/proto_order.cpp b/src/mir_app/src/proto_order.cpp index 0603189595..0199f2465f 100644 --- a/src/mir_app/src/proto_order.cpp +++ b/src/mir_app/src/proto_order.cpp @@ -95,7 +95,7 @@ static bool isProtoSuitable(PROTO_INTERFACE *ppi) if (ppi == nullptr)
return true;
- return (ppi->GetCaps(PFLAGNUM_2, 0) & ~ppi->GetCaps(PFLAGNUM_5, 0)) != 0;
+ return (ppi->GetCaps(PFLAGNUM_2) & ~ppi->GetCaps(PFLAGNUM_5)) != 0;
}
static bool ProtoToInclude(PROTOACCOUNT *pa)
diff --git a/src/mir_app/src/protocols.cpp b/src/mir_app/src/protocols.cpp index aa4cf6bee7..132f33ac8d 100644 --- a/src/mir_app/src/protocols.cpp +++ b/src/mir_app/src/protocols.cpp @@ -352,7 +352,7 @@ bool PROTOACCOUNT::IsVisible() const if (pd == nullptr || (pd->type != PROTOTYPE_PROTOCOL && pd->type != PROTOTYPE_PROTOWITHACCS))
return false;
- return (ppro->GetCaps(PFLAGNUM_2, 0) & ~ppro->GetCaps(PFLAGNUM_5, 0));
+ return (ppro->GetCaps(PFLAGNUM_2) & ~ppro->GetCaps(PFLAGNUM_5));
}
return false;
|