summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index 2add029050..8bb1fe3397 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -1364,8 +1364,7 @@ extern "C" __declspec(dllexport) int Load(void)
char szFile[MAX_PATH];
GetModuleFileNameA(hinstance, szFile, MAX_PATH);
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(SKINICONDESC);
+ SKINICONDESC sid = { sizeof(sid) };
sid.pszDefaultFile = szFile;
sid.cx = sid.cy = 16;
sid.ptszSection = LPGENT( "Protocols/XFire" );