diff options
Diffstat (limited to 'plugins/MetaContacts/src/icons.cpp')
-rw-r--r-- | plugins/MetaContacts/src/icons.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MetaContacts/src/icons.cpp b/plugins/MetaContacts/src/icons.cpp index 54f56e2a84..e56aab6195 100644 --- a/plugins/MetaContacts/src/icons.cpp +++ b/plugins/MetaContacts/src/icons.cpp @@ -65,10 +65,10 @@ void InitIcons(void) TCHAR path[MAX_PATH];
GetModuleFileName(hInstance, path, SIZEOF(path));
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(SKINICONDESC);
+ SKINICONDESC sid = { sizeof(sid) };
+ sid.flags = SIDF_PATH_TCHAR;
sid.pszSection = META_PROTO;
- sid.pszDefaultFile = path;
+ sid.ptszDefaultFile = path;
for (int i=0; i < SIZEOF(iconList); ++i) {
sid.pszDescription = iconList[i].szDescr;
|