From 66ddfd87a0e55b9534b8669392bb0cdee2e9fa3b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 21:07:34 +0000 Subject: SKINICONDESC initialization - end-II :) git-svn-id: http://svn.miranda-ng.org/main/trunk@2599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Gender/src/main.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'plugins/Gender/src/main.cpp') diff --git a/plugins/Gender/src/main.cpp b/plugins/Gender/src/main.cpp index 88f3b6d3a1..391a0d4722 100644 --- a/plugins/Gender/src/main.cpp +++ b/plugins/Gender/src/main.cpp @@ -213,23 +213,22 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) GetModuleFileName(g_hInst, szFile, MAX_PATH); //IcoLib support - SKINICONDESC sid = {0}; - sid.cbSize = sizeof(sid); - sid.flags = SIDF_ALL_TCHAR; - sid.ptszSection = LPGENT("Gender"); + SKINICONDESC sid = { sizeof(sid) }; + sid.flags = SIDF_PATH_TCHAR; + sid.pszSection = LPGEN("Gender"); sid.ptszDefaultFile = szFile; - sid.ptszDescription = LPGENT("Male"); + sid.pszDescription = LPGEN("Male"); sid.pszName = "male_icon"; sid.iDefaultIndex = -IDI_MALE; g_hIconMale = Skin_AddIcon(&sid); - sid.ptszDescription = LPGENT("Female"); + sid.pszDescription = LPGEN("Female"); sid.pszName = "female_icon"; sid.iDefaultIndex = -IDI_FEMALE; g_hIconFemale = Skin_AddIcon(&sid); - sid.ptszDescription = LPGENT("No info"); + sid.pszDescription = LPGEN("No info"); sid.pszName = "menu_icon"; sid.iDefaultIndex = -IDI_UNDEF; g_hIconMenu = Skin_AddIcon(&sid); -- cgit v1.2.3