summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/icolib.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-03 18:25:01 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-03 18:25:01 +0000
commit0a3cc6ed06a3eac9f9c2243c432c6d4443603aae (patch)
tree240ddc26fd18d02cc8a0f2d8770cd618527f9059 /plugins/AvatarHistory/icolib.cpp
parent4641ff7a3a0d6a124c22a5c044bffd04073720fc (diff)
AvatarHistory adopted
git-svn-id: http://svn.miranda-ng.org/main/trunk@739 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
}
}
}