summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 21:06:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 21:06:38 +0000
commita8e8aebfd4f53977873c72c2d828c2c1f505f10d (patch)
treed242a9bb6253a46aeea9fc26f3b1146095f3ab13 /src
parent13c033c257f6c083b0c46b4fa28601db5a0b6335 (diff)
clist_modern: metacontacts are always enabled
git-svn-id: http://svn.miranda-ng.org/main/trunk@8318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/db.cpp2
1 files changed, 1 insertions, 1 deletions
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)