From 20f4a5534324ba89fa08f2a6948b1400547c9362 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Mar 2014 20:56:02 +0000 Subject: crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@8779 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/contactcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM') 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; } /** -- cgit v1.2.3