summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db_autobackups/src/main.cpp')
-rw-r--r--plugins/Db_autobackups/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Db_autobackups/src/main.cpp b/plugins/Db_autobackups/src/main.cpp
index 6e3cbd5239..d971559218 100644
--- a/plugins/Db_autobackups/src/main.cpp
+++ b/plugins/Db_autobackups/src/main.cpp
@@ -66,8 +66,7 @@ static void IcoLibInit(void)
TCHAR tszFile[MAX_PATH];
GetModuleFileName(hInst, tszFile, MAX_PATH);
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(SKINICONDESC);
+ SKINICONDESC sid = { sizeof(sid) };
sid.ptszDefaultFile = tszFile;
sid.ptszSection = _T("Database/Database Backups");
sid.flags = SIDF_ALL_TCHAR;