diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-27 20:56:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-27 20:56:02 +0000 |
commit | 20f4a5534324ba89fa08f2a6948b1400547c9362 (patch) | |
tree | b47be256a648deae29d007aaf084ff4165edab1c /plugins/TabSRMM | |
parent | 198d2ad304d9fb9b56eaa63b99e2a006c60f8e68 (diff) |
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8779 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 2 |
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;
}
/**
|