diff options
Diffstat (limited to 'plugins/DbEditorPP')
-rw-r--r-- | plugins/DbEditorPP/src/main.cpp | 2 |
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);
|