diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-22 15:11:48 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-22 15:11:48 +0000 |
commit | d2c91898a866006be4bd56b00e5cd36112ca5e06 (patch) | |
tree | 614d9d17e05739433fdbe68d247c5f199cdba019 /plugins/Dbx_mdb/src/dbsettings.cpp | |
parent | ce1bf81b56ff2dad89b1f783d6377b20eebea0a4 (diff) |
dbx_lmdb: some fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16522 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mdb/src/dbsettings.cpp')
-rw-r--r-- | plugins/Dbx_mdb/src/dbsettings.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Dbx_mdb/src/dbsettings.cpp b/plugins/Dbx_mdb/src/dbsettings.cpp index 6ea4d009cb..ed7ec5011c 100644 --- a/plugins/Dbx_mdb/src/dbsettings.cpp +++ b/plugins/Dbx_mdb/src/dbsettings.cpp @@ -595,9 +595,8 @@ STDMETHODIMP_(BOOL) CDbxMdb::EnumContactSettings(MCONTACT contactID, DBCONTACTEN STDMETHODIMP_(BOOL) CDbxMdb::EnumResidentSettings(DBMODULEENUMPROC pFunc, void *pParam)
{
- for (int i = 0; i < m_lResidentSettings.getCount(); i++) {
- int ret = pFunc(m_lResidentSettings[i], 0, (LPARAM)pParam);
- if (ret) return ret;
- }
+ for (int i = 0; i < m_lResidentSettings.getCount(); i++)
+ if (int ret = pFunc(m_lResidentSettings[i], 0, (LPARAM)pParam))
+ return ret;
return 0;
}
|