From dba46ff81f211542c359349371c1d932977b5e36 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 29 Nov 2012 18:38:28 +0000 Subject: unicode metacontacts git-svn-id: http://svn.miranda-ng.org/main/trunk@2561 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MetaContacts/src/icons.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/MetaContacts/src/icons.cpp') 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; -- cgit v1.2.3