summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-02-21 18:40:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-02-21 18:40:14 +0300
commit477a6ea70d0bb1b1dfe9cbd9a15b6dad0284ddeb (patch)
tree247eed13a5231c3983e343f0b7fc2a95012353c2 /plugins/HistorySweeperLight
parent9d0174ebe2bd005418855b18f737c36d5c20ab4a (diff)
all another C++'11 iterators
Diffstat (limited to 'plugins/HistorySweeperLight')
-rw-r--r--plugins/HistorySweeperLight/src/options.cpp4
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);