summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/MirOTR/icons.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/MirOTR/icons.cpp b/plugins/MirOTR/MirOTR/icons.cpp
index 363705b454..c9dd1a10db 100644
--- a/plugins/MirOTR/MirOTR/icons.cpp
+++ b/plugins/MirOTR/MirOTR/icons.cpp
@@ -34,7 +34,7 @@ void InitIcons() {
sid.pszName = (char*)iconList[i].szName;
sid.ptszDescription = (TCHAR*)iconList[i].stzDescr;
sid.iDefaultIndex = -iconList[i].defIconID;
- hIconLibItem[i] = (HANDLE)CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
+ hIconLibItem[i] = Skin_AddIcon(&sid);
}
}