From bb4dacc84d5edf29afb4352af1b1ad742949c0b3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 30 Dec 2013 13:10:17 +0000 Subject: faster conversion implementation git-svn-id: http://svn.miranda-ng.org/main/trunk@7426 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mmap_SA/src/security.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Dbx_mmap_SA/src/security.cpp') diff --git a/plugins/Dbx_mmap_SA/src/security.cpp b/plugins/Dbx_mmap_SA/src/security.cpp index eb997e1eb8..7b53a88187 100644 --- a/plugins/Dbx_mmap_SA/src/security.cpp +++ b/plugins/Dbx_mmap_SA/src/security.cpp @@ -176,7 +176,7 @@ int SelectEncoder() void CDbxMmapSA::EncodeAll() { - for (HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) { + for (HANDLE hContact = FindFirstContact(); hContact; hContact = FindNextContact(hContact)) { EncodeContactEvents(hContact); EncodeContactSettings(hContact); } @@ -187,7 +187,7 @@ void CDbxMmapSA::EncodeAll() void CDbxMmapSA::DecodeAll() { - for (HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) { + for (HANDLE hContact = FindFirstContact(); hContact; hContact = FindNextContact(hContact)) { DecodeContactEvents(hContact); DecodeContactSettings(hContact); } -- cgit v1.2.3