summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-14 13:12:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-14 13:12:41 +0000
commit81483e839d08683e35b74f42b2c4081c8101547c (patch)
tree8b2c0a0d5cda187ca0865da7f367a4590512f146 /src
parent6b891ad943757c1adf93123a5835bbf6e6596a0b (diff)
minor cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@10989 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/mc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/mc.cpp b/src/mir_core/mc.cpp
index 520735d761..189e4a3ed0 100644
--- a/src/mir_core/mc.cpp
+++ b/src/mir_core/mc.cpp
@@ -118,7 +118,7 @@ MIR_CORE_DLL(int) db_mc_getSubCount(MCONTACT hMetaContact)
// returns parent hContact for a subcontact or NULL if it's not a sub
MIR_CORE_DLL(MCONTACT) db_mc_getMeta(MCONTACT hSubContact)
{
- if (currDb == NULL) return false;
+ if (currDb == NULL) return NULL;
DBCachedContact *cc = currDb->m_cache->GetCachedContact(hSubContact);
return (cc == NULL) ? NULL : cc->parentID;