diff options
author | George Hazan <george.hazan@gmail.com> | 2016-03-23 17:18:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-03-23 17:18:17 +0000 |
commit | ac208e21f1d573546aed4877532f343a675a6bd3 (patch) | |
tree | 0573501ef1dd14be132614d5dd39c0f25ffea616 /plugins/Clist_modern/src/modern_clistmod.cpp | |
parent | 8b45e0ccd87209b7e8992ecb6dc0279e5d1b03ad (diff) |
more code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@16531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistmod.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistmod.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmod.cpp b/plugins/Clist_modern/src/modern_clistmod.cpp index dbfec61b36..1de81d7980 100644 --- a/plugins/Clist_modern/src/modern_clistmod.cpp +++ b/plugins/Clist_modern/src/modern_clistmod.cpp @@ -91,7 +91,7 @@ int cli_IconFromStatusMode(const char *szProto, int nStatus, MCONTACT hContact) ClcCacheEntry *cacheEntry = pcli->pfnGetCacheEntry(hMostOnlineContact);
if (cacheEntry && cacheEntry->m_pszProto) {
szActProto = cacheEntry->m_pszProto;
- nActStatus = cacheEntry->m_cache_nStatus;
+ nActStatus = cacheEntry->m_iStatus;
hActContact = hMostOnlineContact;
}
}
@@ -125,7 +125,7 @@ int cli_GetContactIcon(MCONTACT hContact) int GetContactIconC(ClcCacheEntry *p)
{
- return pcli->pfnIconFromStatusMode(p->m_pszProto, p->m_pszProto == NULL ? ID_STATUS_OFFLINE : p->m_cache_nStatus, p->hContact);
+ return pcli->pfnIconFromStatusMode(p->m_pszProto, p->m_pszProto == NULL ? ID_STATUS_OFFLINE : p->m_iStatus, p->hContact);
}
//lParam
|