diff options
author | George Hazan <george.hazan@gmail.com> | 2016-08-08 07:38:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-08-08 07:38:27 +0000 |
commit | cd3898d8ea6f3fc53950f91544c1db2ee86c60d6 (patch) | |
tree | f652773902756114fc5badc9a4f741d427320ee8 /plugins/TabSRMM/src/contactcache.cpp | |
parent | 212d36e4fd71b88a427ecbc8e3c3536daf88de38 (diff) |
cleaning rest of m_wStatus
git-svn-id: http://svn.miranda-ng.org/main/trunk@17167 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index a92b191e97..6a27e4be6e 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -35,10 +35,10 @@ static OBJLIST<CContactCache> arContacts(50, NumericKeySortT); static DBCachedContact ccInvalid; -CContactCache::CContactCache(const MCONTACT hContact) +CContactCache::CContactCache(MCONTACT hContact) { m_hContact = hContact; - m_wOldStatus = m_wStatus = ID_STATUS_OFFLINE; + m_wOldStatus = ID_STATUS_OFFLINE; if (hContact) { if ((cc = db_get_contact(hContact)) != NULL) { @@ -532,10 +532,10 @@ wchar_t* CContactCache::getNormalizedStatusMsg(const wchar_t *src, bool fStripAl /** * retrieve the tab/title icon for the corresponding session. */ -HICON CContactCache::getIcon(int& iSize) const +HICON CContactCache::getIcon(int &iSize) const { if (!m_dat || !m_hwnd) - return Skin_LoadProtoIcon(cc->szProto, m_wStatus); + return Skin_LoadProtoIcon(cc->szProto, getStatus()); if (m_dat->dwFlags & MWF_ERRORSTATE) return PluginConfig.g_iconErr; |