From 0676fb86d8ee519330f34bcd5abd2c7b9bda3343 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Jun 2014 18:16:39 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@9555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_metacontacts.h | 3 +-- 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; } -- cgit v1.2.3