summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx')
-rw-r--r--plugins/Dbx_mdbx/src/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/ui.cpp b/plugins/Dbx_mdbx/src/ui.cpp
index a7d9566dca..3a24d00c63 100644
--- a/plugins/Dbx_mdbx/src/ui.cpp
+++ b/plugins/Dbx_mdbx/src/ui.cpp
@@ -182,7 +182,7 @@ static int OnModulesLoaded(PVOID obj, WPARAM, LPARAM)
{
CDbxMDBX *db = (CDbxMDBX*)obj;
- Icon_Register(g_plugin.getInst(), LPGEN("Database"), iconList, _countof(iconList), "mdbx");
+ g_plugin.registerIcon(LPGEN("Database"), iconList, "mdbx");
HookEventObj(ME_OPT_INITIALISE, OnOptionsInit, db);