From a8e8aebfd4f53977873c72c2d828c2c1f505f10d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Feb 2014 21:06:38 +0000 Subject: clist_modern: metacontacts are always enabled git-svn-id: http://svn.miranda-ng.org/main/trunk@8318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_core/db.cpp') diff --git a/src/mir_core/db.cpp b/src/mir_core/db.cpp index dafa2b2d93..b851a6a96c 100644 --- a/src/mir_core/db.cpp +++ b/src/mir_core/db.cpp @@ -336,7 +336,7 @@ MIR_CORE_DLL(int) db_mc_isSub(MCONTACT hContact) if (currDb == NULL) return false; DBCachedContact *cc = currDb->m_cache->GetCachedContact(hContact); - return (cc == NULL) ? false : cc->parentID != INVALID_CONTACT_ID; + return (cc == NULL) ? false : cc->parentID != 0; } MIR_CORE_DLL(MCONTACT) db_mc_getMeta(MCONTACT hSubContact) -- cgit v1.2.3