diff options
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);
}
|