summaryrefslogtreecommitdiff
path: root/plugins/MetaContacts/src/icons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-29 18:38:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-29 18:38:28 +0000
commitdba46ff81f211542c359349371c1d932977b5e36 (patch)
tree05792df32d6d0a68b6e43af50fba7ae6a25ba8b0 /plugins/MetaContacts/src/icons.cpp
parent5d5e4961ad8360b33dc8b363eae8e94c85b4c5cf (diff)
unicode metacontacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@2561 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts/src/icons.cpp')
-rw-r--r--plugins/MetaContacts/src/icons.cpp6
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;