diff options
| author | George Hazan <ghazan@miranda.im> | 2022-02-09 17:40:09 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2022-02-09 17:40:09 +0300 |
| commit | a43d5bcb1e0bdafb0193662168976aac989ed922 (patch) | |
| tree | c4f154f05f36626678efc64ae7a1139b30b5f4fe /plugins/UserInfoEx/src/ex_import | |
| parent | 760867149a99443036f53c73190d53bd87039def (diff) | |
db_is_module_empty & db_copy_module - new database helpers
Diffstat (limited to 'plugins/UserInfoEx/src/ex_import')
| -rw-r--r-- | plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp b/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp index 46abcece72..666fd84b78 100644 --- a/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp +++ b/plugins/UserInfoEx/src/ex_import/dlg_ExImModules.cpp @@ -274,7 +274,7 @@ INT_PTR CALLBACK SelectModulesToExport_DlgProc(HWND hDlg, UINT uMsg, WPARAM wPar {
for (auto &hContact: Contacts()) {
// ignore empty modules
- if (!DB::Module::IsEmpty(hContact, p)) {
+ if (!db_is_module_empty(hContact, p)) {
pszProto = Proto_GetBaseAccountName(hContact);
// Filter by mode
switch (pDat->ExImContact->Typ) {
@@ -311,7 +311,7 @@ INT_PTR CALLBACK SelectModulesToExport_DlgProc(HWND hDlg, UINT uMsg, WPARAM wPar } // end TRUE = All Contacts
// module must exist in the selected contact
- else if (!DB::Module::IsEmpty(pDat->ExImContact->hContact, p) && (!pDat->ExImContact->hContact || mir_strcmpi(p, pszProto)) && mir_strcmpi(p, USERINFO)) {
+ else if (!db_is_module_empty(pDat->ExImContact->hContact, p) && (!pDat->ExImContact->hContact || mir_strcmpi(p, pszProto)) && mir_strcmpi(p, USERINFO)) {
ExportTree_AddItem(hTree, hItemOptional, (LPSTR)p, bImagesLoaded, 1);
}
}
|
