summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r--protocols/Steam/src/steam_proto.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index 1ce64f65de..8841ce81ef 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -24,18 +24,17 @@ CSteamProto::CSteamProto(const char* protoName, const TCHAR* userName) :
char settingName[100];
mir_snprintf(settingName, SIZEOF(settingName), "%s_%s", MODULE, "main");
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(SKINICONDESC);
+ SKINICONDESC sid = { 0 };
sid.flags = SIDF_ALL_TCHAR;
- sid.ptszDefaultFile = filePath;
+ sid.defaultFile.t = filePath;
sid.pszName = settingName;
- sid.ptszSection = sectionName;
- sid.ptszDescription = LPGENT("Protocol icon");
+ sid.section.t = sectionName;
+ sid.description.t = LPGENT("Protocol icon");
sid.iDefaultIndex = -IDI_STEAM;
Skin_AddIcon(&sid);
mir_snprintf(settingName, SIZEOF(settingName), "%s_%s", MODULE, "gaming");
- sid.ptszDescription = LPGENT("Gaming icon");
+ sid.description.t = LPGENT("Gaming icon");
sid.iDefaultIndex = -IDI_GAMING;
Skin_AddIcon(&sid);