diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-27 18:07:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-27 18:07:41 +0000 |
commit | 1c6adee432acbc6ea6e8f7108d972d85f1017232 (patch) | |
tree | 63c053f199c8c928f3911c2a1a719b853104d7a2 /plugins/HistorySweeperLight/src/options.cpp | |
parent | 86f31d8f021efa4145a6a67a775f5b72ffc5348d (diff) |
fixes for StatusIconData initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@5863 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistorySweeperLight/src/options.cpp')
-rw-r--r-- | plugins/HistorySweeperLight/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistorySweeperLight/src/options.cpp b/plugins/HistorySweeperLight/src/options.cpp index 436fecd86f..d2b2a329f7 100644 --- a/plugins/HistorySweeperLight/src/options.cpp +++ b/plugins/HistorySweeperLight/src/options.cpp @@ -157,7 +157,7 @@ void LoadSettings(HWND hwndDlg) void SaveSettings(HWND hwndDlg)
{
- int st, i; StatusIconData sid = {0};
+ int st, i;
HWND hwndList = GetDlgItem(hwndDlg, IDC_LIST);
db_set_b(NULL, ModuleName, "StartupShutdownOlder", (BYTE)SendDlgItemMessage(hwndDlg, IDC_SSOLDER, CB_GETCURSEL, 0, 0));
@@ -166,7 +166,7 @@ void SaveSettings(HWND hwndDlg) db_set_b(NULL, ModuleName, "SweepOnClose", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_SWEEPONCLOSE));
db_set_b(NULL, ModuleName, "ChangeInMW", (BYTE)IsDlgButtonChecked(hwndDlg, IDC_HISTMW));
- sid.cbSize = sizeof(sid);
+ StatusIconData sid = { sizeof(sid) };
sid.szModule = ModuleName;
db_set_b(NULL, ModuleName, "SweepHistory",
|