summaryrefslogtreecommitdiff
path: root/src/mir_app/src/protoopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/protoopts.cpp')
-rw-r--r--src/mir_app/src/protoopts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mir_app/src/protoopts.cpp b/src/mir_app/src/protoopts.cpp
index 8e072db725..8a5d0e7a15 100644
--- a/src/mir_app/src/protoopts.cpp
+++ b/src/mir_app/src/protoopts.cpp
@@ -592,14 +592,14 @@ INT_PTR CALLBACK AccMgrDlgProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM
HICON hIcon = LoadSkinnedIcon(tmp);
DrawIconEx(lps->hDC, lps->rcItem.left, lps->rcItem.top, hIcon, cxIcon, cyIcon, 0, hbrBack, DI_NORMAL);
- IcoLib_ReleaseIcon(hIcon, 0);
+ IcoLib_ReleaseIcon(hIcon);
lps->rcItem.left += cxIcon + 2;
if (acc->ppro) {
- hIcon = Skin_GetIconByHandle(acc->ppro->m_hProtoIcon);
+ hIcon = IcoLib_GetIconByHandle(acc->ppro->m_hProtoIcon);
DrawIconEx(lps->hDC, lps->rcItem.left, lps->rcItem.top, hIcon, cxIcon, cyIcon, 0, hbrBack, DI_NORMAL);
- Skin_ReleaseIcon(hIcon);
+ IcoLib_ReleaseIcon(hIcon);
}
lps->rcItem.left += cxIcon + 2;