diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-07 18:19:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-07 18:19:34 +0000 |
commit | e5cb033463036b182fb6e5e3eed50a14987f5300 (patch) | |
tree | c1e0c20c1fb1808f658f4aadf624a57474576eb4 /plugins/WhenWasIt/src/icons.cpp | |
parent | e2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff) |
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/icons.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/icons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/WhenWasIt/src/icons.cpp b/plugins/WhenWasIt/src/icons.cpp index 864b9a81bd..fbaed89acf 100644 --- a/plugins/WhenWasIt/src/icons.cpp +++ b/plugins/WhenWasIt/src/icons.cpp @@ -31,13 +31,13 @@ HANDLE hWWIExtraIcons = (HANDLE)-1; static HANDLE AddIcon(char *name, char *description, TCHAR *tszPath, int iDefaultIdx)
{
- SKINICONDESC sid = { sizeof(sid) };
+ SKINICONDESC sid = { 0 };
sid.flags = SIDF_PATH_TCHAR;
- sid.pszSection = LPGEN("WhenWasIt");
+ sid.section.a = LPGEN("WhenWasIt");
sid.cx = sid.cy = 16;
- sid.pszDescription = description;
+ sid.description.a = description;
sid.pszName = name;
- sid.ptszDefaultFile = tszPath;
+ sid.defaultFile.t = tszPath;
sid.iDefaultIndex = -iDefaultIdx;
return Skin_AddIcon(&sid);
}
|