summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-16 17:34:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-16 17:34:21 +0000
commitcac58b5ab572889667f6e936a14f53ac6d87273a (patch)
tree4007fc8e9f76fb9f0b8b3013c91943f458ded092 /plugins/DbEditorPP
parentc7c0e011ddcfed4f9c3b49637bfeb8fa0d3d5a9d (diff)
forgotten database function
git-svn-id: http://svn.miranda-ng.org/main/trunk@17303 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r--plugins/DbEditorPP/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp
index d997ab744e..045834f1ab 100644
--- a/plugins/DbEditorPP/src/main.cpp
+++ b/plugins/DbEditorPP/src/main.cpp
@@ -189,7 +189,7 @@ extern "C" __declspec(dllexport) int Load(void)
hwnd2mainWindow = NULL;
hRestore = NULL;
- g_db = GetCurrentDatabase();
+ g_db = db_get_current();
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, DBSettingChanged);
HookEvent(ME_OPT_INITIALISE, OptInit);