summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/icolib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/icolib.cpp')
-rw-r--r--plugins/AvatarHistory/icolib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AvatarHistory/icolib.cpp b/plugins/AvatarHistory/icolib.cpp
index b8e54b0807..a4105eef3c 100644
--- a/plugins/AvatarHistory/icolib.cpp
+++ b/plugins/AvatarHistory/icolib.cpp
@@ -70,7 +70,7 @@ void SetupIcoLib()
GetModuleFileName(hInst, path, sizeof(path));
- sid.cbSize = SKINICONDESC_SIZE;
+ sid.cbSize = sizeof(sid);
sid.ptszSection = LPGENT("Avatar History");
sid.ptszDefaultFile = path;
sid.flags = SIDF_ALL_TCHAR;
@@ -82,7 +82,7 @@ void SetupIcoLib()
sid.ptszDescription = iconList[i].szDescr;
sid.pszName = iconList[i].szName;
sid.iDefaultIndex = -iconList[i].defIconID;
- CallService(MS_SKIN2_ADDICON, 0, (LPARAM)&sid);
+ Skin_AddIcon(&sid);
}
}
}