summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-01-26 18:39:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-01-26 18:39:36 +0300
commit571a42dfc1c3b3d374d0239e1f139fcfd3a5b06c (patch)
treed7c11d869677becea6291e3cd25b0f6e5c95d3b1 /src/mir_app
parent1a8b125e5f9859b9e99c59cf0cf946bc583ccef1 (diff)
fixes #3007 (LotusNotify: падение при выборе аккаунта)
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/proto_opts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/proto_opts.cpp b/src/mir_app/src/proto_opts.cpp
index 9bce608d71..608afe11d0 100644
--- a/src/mir_app/src/proto_opts.cpp
+++ b/src/mir_app/src/proto_opts.cpp
@@ -701,7 +701,7 @@ BOOL CAccountListCtrl::OnDrawItem(DRAWITEMSTRUCT *lps)
if (acc->ppro && Proto_IsProtocolLoaded(acc->szProtoName)) {
wchar_t *wszIdName = (wchar_t *)acc->ppro->GetCaps(PFLAG_UNIQUEIDTEXT, 0);
- if (wszIdName == nullptr)
+ if (wszIdName == nullptr || (UINT_PTR)wszIdName == CALLSERVICE_NOTFOUND)
wszIdName = TranslateT("Account ID");
ptrW tszUniqueID(Contact_GetInfo(CNF_UNIQUEID, 0, acc->szModuleName));