summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/proto_opts.cpp2
-rw-r--r--src/mir_app/src/proto_order.cpp2
-rw-r--r--src/mir_app/src/protocols.cpp2
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;