From ac208e21f1d573546aed4877532f343a675a6bd3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 Mar 2016 17:18:17 +0000 Subject: more code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@16531 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clistmod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clistmod.cpp') 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 -- cgit v1.2.3