summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Db3x_mmap/src/init.cpp2
-rw-r--r--plugins/Import/src/import.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/init.cpp b/plugins/Db3x_mmap/src/init.cpp
index 587b79253b..c2860ecfef 100644
--- a/plugins/Db3x_mmap/src/init.cpp
+++ b/plugins/Db3x_mmap/src/init.cpp
@@ -23,8 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
-EXTERN_C MIR_CORE_DLL(void) db_setCurrent(MIDatabase* _db);
-
int hLangpack;
static PLUGININFOEX pluginInfo =
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp
index 08ba83bee9..752400ecc8 100644
--- a/plugins/Import/src/import.cpp
+++ b/plugins/Import/src/import.cpp
@@ -1137,6 +1137,7 @@ void MirandaImport(HWND hdlg)
// Restore database writing mode
dstDb->SetCacheSafetyMode(TRUE);
+ db_setCurrent(dstDb);
// Clean up before exit
delete srcDb;