diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-01 21:07:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-01 21:07:34 +0000 |
commit | 66ddfd87a0e55b9534b8669392bb0cdee2e9fa3b (patch) | |
tree | 6075890e2ba60622069d5179f280d64b225c9be9 /plugins/Gender/src/main.cpp | |
parent | 1860018b201d995ed051c0affb72d5a1d09fa02e (diff) |
SKINICONDESC initialization - end-II :)
git-svn-id: http://svn.miranda-ng.org/main/trunk@2599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Gender/src/main.cpp')
-rw-r--r-- | plugins/Gender/src/main.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
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);
|