summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistorySweeperLight/src')
-rw-r--r--plugins/HistorySweeperLight/src/historysweeperlight.cpp1
-rw-r--r--plugins/HistorySweeperLight/src/main.cpp4
-rw-r--r--plugins/HistorySweeperLight/src/options.cpp1
3 files changed, 2 insertions, 4 deletions
diff --git a/plugins/HistorySweeperLight/src/historysweeperlight.cpp b/plugins/HistorySweeperLight/src/historysweeperlight.cpp
index e9b7316f25..87e42974f6 100644
--- a/plugins/HistorySweeperLight/src/historysweeperlight.cpp
+++ b/plugins/HistorySweeperLight/src/historysweeperlight.cpp
@@ -238,7 +238,6 @@ void SetSrmmIcon(MCONTACT hContact)
int sweep = db_get_b(hContact, ModuleName, "SweepHistory", 0);
StatusIconData sid = { 0 };
- sid.cbSize = sizeof(sid);
sid.szModule = ModuleName;
for (int i = 0; i < 4; i++) {
diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp
index 990f957d9c..ade9f3e678 100644
--- a/plugins/HistorySweeperLight/src/main.cpp
+++ b/plugins/HistorySweeperLight/src/main.cpp
@@ -55,7 +55,7 @@ int OnIconPressed(WPARAM hContact, LPARAM lParam)
if (!(sicd->flags & MBCF_RIGHTBUTTON) && !mir_strcmp(sicd->szModule, ModuleName) && db_get_b(NULL, ModuleName, "ChangeInMW", 0)) {
int nh = sicd->dwId;
- StatusIconData sid = { sizeof(sid) };
+ StatusIconData sid = {};
sid.szModule = ModuleName;
sid.dwId = nh;
sid.flags = MBF_HIDDEN;
@@ -75,7 +75,7 @@ int OnModulesLoaded(WPARAM, LPARAM)
{
int sweep = db_get_b(NULL, ModuleName, "SweepHistory", 0);
- StatusIconData sid = { sizeof(sid) };
+ StatusIconData sid = {};
sid.szModule = ModuleName;
sid.hIcon = LoadIconEx("actG");
diff --git a/plugins/HistorySweeperLight/src/options.cpp b/plugins/HistorySweeperLight/src/options.cpp
index 36dcd48c01..d2b68c7a12 100644
--- a/plugins/HistorySweeperLight/src/options.cpp
+++ b/plugins/HistorySweeperLight/src/options.cpp
@@ -169,7 +169,6 @@ void SaveSettings(HWND hwndDlg)
int st = db_get_b(NULL, ModuleName, "SweepHistory", 0);
StatusIconData sid = { 0 };
- sid.cbSize = sizeof(sid);
sid.szModule = ModuleName;
sid.dwId = 0;
sid.hIcon = LoadIconEx("actG");