summaryrefslogtreecommitdiff
path: root/plugins/Import/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Import/src')
-rw-r--r--plugins/Import/src/import.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Import/src/import.cpp b/plugins/Import/src/import.cpp
index 62b4260e8a..6d6a8f1443 100644
--- a/plugins/Import/src/import.cpp
+++ b/plugins/Import/src/import.cpp
@@ -961,7 +961,7 @@ void MirandaImport(HWND hdlg)
{
hdlgProgress = hdlg;
- if ((dstDb = GetCurrentDatabase()) == NULL) {
+ if ((dstDb = db_get_current()) == NULL) {
AddMessage(LPGENW("Error retrieving current profile, exiting."));
return;
}