diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-22 18:16:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-22 18:16:39 +0000 |
commit | 0676fb86d8ee519330f34bcd5abd2c7b9bda3343 (patch) | |
tree | 9efcc8bc5a39c3ab01fa254c190f780d965b1e4f | |
parent | 9a861161c1fc6efa2145430991f75804fb5fd540 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | include/m_metacontacts.h | 3 | ||||
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/m_metacontacts.h b/include/m_metacontacts.h index 55beb66572..9ba80dd801 100644 --- a/include/m_metacontacts.h +++ b/include/m_metacontacts.h @@ -79,8 +79,7 @@ MCONTACT __forceinline db_mc_getMostOnline(MCONTACT hContact) }
MCONTACT __forceinline db_mc_getSrmmSub(MCONTACT hContact)
-{
- return CallService(MS_MC_GETSRMMSUB, hContact, 0);
+{ return CallService(MS_MC_GETSRMMSUB, hContact, 0);
}
// checks whether metacontacts are enabled
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index a9d817c2e2..fab10869f0 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -602,5 +602,5 @@ int CContactCache::getMaxMessageLength() const MCONTACT CContactCache::getActiveContact() const
{
- return (m_isMeta) ? m_hContact : db_mc_getSrmmSub(m_hContact);
+ return (m_isMeta) ? db_mc_getSrmmSub(m_hContact) : m_hContact;
}
|