diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-22 11:32:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-22 11:32:16 +0000 |
commit | 739fd4137010dc56881cf8328770b3175a2f2696 (patch) | |
tree | 7c77a540a1795bf1353991355645a77c1f90016f /src/mir_core | |
parent | 14134369ad6b27a974b8147aea6535ac8d2f9e87 (diff) |
feeding awk's aesthetic worldview
git-svn-id: http://svn.miranda-ng.org/main/trunk@8684 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/mc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mir_core/mc.cpp b/src/mir_core/mc.cpp index e440160dc0..289e29e188 100644 --- a/src/mir_core/mc.cpp +++ b/src/mir_core/mc.cpp @@ -72,20 +72,20 @@ MIR_CORE_DLL(void) db_mc_enable(BOOL bEnabled) g_bEnabled = bEnabled != 0;
}
-MIR_CORE_DLL(int) db_mc_isMeta(MCONTACT hContact)
+MIR_CORE_DLL(BOOL) db_mc_isMeta(MCONTACT hContact)
{
- if (currDb == NULL) return false;
+ if (currDb == NULL) return FALSE;
DBCachedContact *cc = currDb->m_cache->GetCachedContact(hContact);
- return (cc == NULL) ? false : cc->nSubs != -1;
+ return (cc == NULL) ? FALSE : cc->nSubs != -1;
}
-MIR_CORE_DLL(int) db_mc_isSub(MCONTACT hContact)
+MIR_CORE_DLL(BOOL) db_mc_isSub(MCONTACT hContact)
{
- if (currDb == NULL) return false;
+ if (currDb == NULL) return FALSE;
DBCachedContact *cc = currDb->m_cache->GetCachedContact(hContact);
- return (cc == NULL) ? false : cc->parentID != 0;
+ return (cc == NULL) ? FALSE : cc->parentID != 0;
}
//returns a handle to the default contact, or null on failure
|