summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-27 20:56:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-27 20:56:02 +0000
commit20f4a5534324ba89fa08f2a6948b1400547c9362 (patch)
treeb47be256a648deae29d007aaf084ff4165edab1c /plugins/TabSRMM/src
parent198d2ad304d9fb9b56eaa63b99e2a006c60f8e68 (diff)
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8779 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/contactcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp
index 6761c68114..62c9aef968 100644
--- a/plugins/TabSRMM/src/contactcache.cpp
+++ b/plugins/TabSRMM/src/contactcache.cpp
@@ -150,7 +150,7 @@ bool CContactCache::updateStatus()
*/
void CContactCache::updateMeta(bool fForce)
{
- m_szMetaProto = (m_Valid) ? GetContactProto(cc->pSubs[cc->nDefault]) : NULL;
+ m_szMetaProto = (m_Valid) ? GetContactProto(db_mc_getDefault(cc->contactID)) : NULL;
}
/**