diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-30 20:46:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-30 20:46:01 +0000 |
commit | 06a79b9469f4d187132cd148411d9b92c7e35e6f (patch) | |
tree | bb9ee9b9daf2016ecc97d9af8b575cd32b8574da /src/modules/clist/clcitems.cpp | |
parent | 0edc13560169b35dc38e2923f0d240531221cd03 (diff) |
fix for that hell with ClcCacheEntryBase
git-svn-id: http://svn.miranda-ng.org/main/trunk@2120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clcitems.cpp')
-rw-r--r-- | src/modules/clist/clcitems.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/clist/clcitems.cpp b/src/modules/clist/clcitems.cpp index d7d0fa284b..0530f75fb8 100644 --- a/src/modules/clist/clcitems.cpp +++ b/src/modules/clist/clcitems.cpp @@ -108,7 +108,7 @@ ClcGroup* fnAddGroup(HWND hwnd, struct ClcData *dat, const TCHAR *szName, DWORD DWORD style = GetWindowLongPtr(hwnd, GWL_STYLE);
HANDLE hContact = db_find_first();
while (hContact) {
- ClcCacheEntryBase* cache = cli.pfnGetCacheEntry(hContact);
+ ClcCacheEntry* cache = cli.pfnGetCacheEntry(hContact);
if ( !lstrcmp(cache->tszGroup, szName) && (style & CLS_SHOWHIDDEN || !cache->bIsHidden))
group->totalMembers++;
@@ -204,7 +204,7 @@ int fnAddContactToGroup(struct ClcData *dat, ClcGroup *group, HANDLE hContact) group->cl.items[i]->flags |= CONTACTF_IDLE;
lstrcpyn(group->cl.items[i]->szText, cli.pfnGetContactDisplayName(hContact, 0), SIZEOF(group->cl.items[i]->szText));
- ClcCacheEntryBase* p = cli.pfnGetCacheEntry(hContact);
+ ClcCacheEntry *p = cli.pfnGetCacheEntry(hContact);
if (p != NULL)
replaceStrT(p->tszGroup, NULL);
@@ -291,7 +291,7 @@ ClcGroup* fnRemoveItemFromGroup(HWND hwnd, ClcGroup *group, ClcContact *contact, if (updateTotalCount)
group->totalMembers--;
- ClcCacheEntryBase* p = cli.pfnGetCacheEntry(contact->hContact);
+ ClcCacheEntry *p = cli.pfnGetCacheEntry(contact->hContact);
if (p != NULL) {
if (p->tszGroup) mir_free(p->tszGroup);
p->tszGroup = NULL;
|