diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mir_core/db.cpp | 2 | 
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)
  | 
