summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IgnoreState')
-rw-r--r--plugins/IgnoreState/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IgnoreState/main.cpp b/plugins/IgnoreState/main.cpp
index 824569c959..014266df77 100644
--- a/plugins/IgnoreState/main.cpp
+++ b/plugins/IgnoreState/main.cpp
@@ -201,7 +201,7 @@ static VOID init_icolib (void)
sid.pszName = iconList[i].szName;
sid.ptszDescription = iconList[i].szDescr;
sid.iDefaultIndex = -iconList[i].defIconID;
- iconList[i].hIconLibItem = (HANDLE) CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
+ iconList[i].hIconLibItem = Skin_AddIcon(&sid);
}
// hIcoLibIconsChanged = HookEvent(ME_SKIN2_ICONSCHANGED, onExtraImageListRebuild);
}