summaryrefslogtreecommitdiff
path: root/plugins/CSList/src/cslist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CSList/src/cslist.cpp')
-rw-r--r--plugins/CSList/src/cslist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp
index 9b9c5f7ecd..f445d8de7e 100644
--- a/plugins/CSList/src/cslist.cpp
+++ b/plugins/CSList/src/cslist.cpp
@@ -127,7 +127,7 @@ extern "C" __declspec(dllexport) int Load()
TCHAR tszFile[MAX_PATH];
GetModuleFileName(g_hInst, tszFile, MAX_PATH);
- SKINICONDESC sid = { 0 };
+ SKINICONDESC sid = { 0 };
sid.defaultFile.t = tszFile;
sid.flags = SIDF_ALL_TCHAR;
sid.cx = sid.cy = 16;
@@ -140,7 +140,7 @@ extern "C" __declspec(dllexport) int Load()
sid.pszName = szSettingName;
sid.description.t = forms[i].ptszDescr;
sid.iDefaultIndex = -forms[i].iconNoIcoLib;
- forms[i].hIcoLibItem = Skin_AddIcon(&sid);
+ forms[i].hIcoLibItem = IcoLib_AddIcon(&sid);
}
HookEvent(ME_OPT_INITIALISE, OnInitOptions);
@@ -365,7 +365,7 @@ void CSWindow::initButtons()
if (forms[i].idc < 0)
continue;
- SendDlgItemMessage(m_handle, forms[i].idc, BM_SETIMAGE, IMAGE_ICON, (LPARAM)Skin_GetIconByHandle(forms[i].hIcoLibItem));
+ SendDlgItemMessage(m_handle, forms[i].idc, BM_SETIMAGE, IMAGE_ICON, (LPARAM)IcoLib_GetIconByHandle(forms[i].hIcoLibItem));
SendDlgItemMessage(m_handle, forms[i].idc, BUTTONSETASFLATBTN, TRUE, 0); //maybe set as BUTTONSETDEFAULT?
SendDlgItemMessage(m_handle, forms[i].idc, BUTTONADDTOOLTIP, (WPARAM)TranslateTS(forms[i].ptszTitle), BATF_TCHAR);
}