diff options
Diffstat (limited to 'plugins/MirFox/src/MirandaOptions.cpp')
-rw-r--r-- | plugins/MirFox/src/MirandaOptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirFox/src/MirandaOptions.cpp b/plugins/MirFox/src/MirandaOptions.cpp index ed6857ff96..b57156d191 100644 --- a/plugins/MirFox/src/MirandaOptions.cpp +++ b/plugins/MirFox/src/MirandaOptions.cpp @@ -464,7 +464,7 @@ INT_PTR CALLBACK DlgProcOpts_Tab2(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM case PSN_APPLY:
{
- for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)){
+ for (auto &hContact : contact_iter()){
HANDLE hItem = (HANDLE)SendDlgItemMessage(hwndDlg, IDC2_CONTACTS_LIST, CLM_FINDCONTACT, hContact, 0);
if(hItem) {
|