diff options
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 7d8071eb63..60da041125 100644 --- a/plugins/HistorySweeperLight/src/options.cpp +++ b/plugins/HistorySweeperLight/src/options.cpp @@ -160,8 +160,8 @@ void SaveSettings(HWND hwndDlg) db_unset(hContact, ModuleName, "SweepHistory");
}
- for (int i = 0; i < g_hWindows.getCount(); i++)
- SetSrmmIcon(UINT_PTR(g_hWindows[i]));
+ for (auto &it : g_hWindows)
+ SetSrmmIcon(UINT_PTR(it));
// set tooltips
int st = db_get_b(NULL, ModuleName, "SweepHistory", 0);
|