diff options
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index 5f32b2bd90..8d1760ac6b 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -666,8 +666,8 @@ class COptLogDlg : public CDlgBase Utils::showDlgControl(m_hwnd, IDC_EXPLAINMSGLOGSETTINGS, r == 0 ? SW_HIDE : SW_SHOW);
Utils::showDlgControl(m_hwnd, IDC_LOGOPTIONS, r == 0 ? SW_SHOW : SW_HIDE);
- for (int i = 0; i < _countof(__ctrls); i++)
- Utils::enableDlgControl(m_hwnd, __ctrls[i], r == 0);
+ for (auto &it : __ctrls)
+ Utils::enableDlgControl(m_hwnd, it, r == 0);
}
public:
|