diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-04 21:07:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-04 21:07:46 +0300 |
commit | d4b6de0fb4ca58063eb2f424c77e74e703022b63 (patch) | |
tree | 831c18be8048b34ddacf132c1bb204e92cd9cb92 /plugins/QuickContacts/src/quickcontacts.cpp | |
parent | 53156bdc6edde511dbdf5e999756cd80d0a97e13 (diff) |
static function CLIST_INTERFACE::pfnGetContactIcon exported as Clist_GetContactIcon (history++ to be recompiled)
Diffstat (limited to 'plugins/QuickContacts/src/quickcontacts.cpp')
-rw-r--r-- | plugins/QuickContacts/src/quickcontacts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index 629faddd9a..4b4c689f3c 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -436,7 +436,7 @@ void EnableButtons(HWND hwndDlg, MCONTACT hContact) EnableWindow(GetDlgItem(hwndDlg, IDC_HISTORY), TRUE);
EnableWindow(GetDlgItem(hwndDlg, IDC_MENU), TRUE);
- HICON ico = ImageList_GetIcon(hIml, pcli->pfnGetContactIcon(hContact), ILD_IMAGE);
+ HICON ico = ImageList_GetIcon(hIml, Clist_GetContactIcon(hContact), ILD_IMAGE);
SendDlgItemMessage(hwndDlg, IDC_ICO, STM_SETICON, (WPARAM)ico, 0);
}
}
@@ -966,7 +966,7 @@ static INT_PTR CALLBACK MainDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA // Draw icon
rc.left = lpdis->rcItem.left + 5;
rc.top = (lpdis->rcItem.bottom + lpdis->rcItem.top - icon_height) / 2;
- ImageList_Draw(hIml, pcli->pfnGetContactIcon(contacts[lpdis->itemData]->hcontact), lpdis->hDC, rc.left, rc.top, ILD_NORMAL);
+ ImageList_Draw(hIml, Clist_GetContactIcon(contacts[lpdis->itemData]->hcontact), lpdis->hDC, rc.left, rc.top, ILD_NORMAL);
// Make rect for text
rc.left += icon_width + 5;
|