summaryrefslogtreecommitdiff
path: root/plugins/QuickMessages/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickMessages/src/Utils.cpp')
-rw-r--r--plugins/QuickMessages/src/Utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/QuickMessages/src/Utils.cpp b/plugins/QuickMessages/src/Utils.cpp
index ad5517938b..8ae1829407 100644
--- a/plugins/QuickMessages/src/Utils.cpp
+++ b/plugins/QuickMessages/src/Utils.cpp
@@ -232,13 +232,13 @@ static HANDLE AddIcon(char* szIcoName)
TCHAR tszPath[MAX_PATH];
GetModuleFileName(hinstance, tszPath, SIZEOF(tszPath));
- SKINICONDESC sid = { sizeof(sid) };
+ SKINICONDESC sid = { 0 };
sid.flags = SIDF_PATH_TCHAR;
- sid.pszSection = "Quick Messages";
+ sid.section.a = "Quick Messages";
sid.cx = sid.cy = 16;
- sid.pszDescription = szIcoName;
+ sid.description.a = szIcoName;
sid.pszName = szIcoName;
- sid.ptszDefaultFile = tszPath;
+ sid.defaultFile.t = tszPath;
sid.iDefaultIndex = -IDI_QICON;
return Skin_AddIcon(&sid);
}