summaryrefslogtreecommitdiff
path: root/plugins/Console/src/Console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Console/src/Console.cpp')
-rw-r--r--plugins/Console/src/Console.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp
index 3d0da48591..74f0f731c4 100644
--- a/plugins/Console/src/Console.cpp
+++ b/plugins/Console/src/Console.cpp
@@ -127,8 +127,7 @@ static int OnTTBLoaded(WPARAM wParam,LPARAM lParam)
TCHAR szModuleFileName[MAX_PATH];
GetModuleFileName(hInst, szModuleFileName, SIZEOF(szModuleFileName));
- SKINICONDESC sid = { 0 };
- sid.cbSize = sizeof(sid);
+ SKINICONDESC sid = { sizeof(sid) };
sid.pszSection = "Console";
sid.ptszDefaultFile = szModuleFileName;
sid.flags = SIDF_PATH_TCHAR;