summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-27 22:28:15 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-04-27 22:28:15 +0200
commitd77cd7730ff36f38b9a8a8619c8b801646f7b928 (patch)
tree2ca89c3ebcceeccb32aac7dc82599ae3a042d9ef /plugins
parent23b0057349dddae70298c452db43fd9699780a05 (diff)
fixes #1310 (Wrong language after profile conversion)
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;