summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
commit41ee395da7530c17656bd06f84638ab8d9d3776d (patch)
tree4f28423e3acb809b9be60f467d7fbca262a612d5 /plugins/BossKeyPlus
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/BossKeyPlus')
-rw-r--r--plugins/BossKeyPlus/src/Options.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/BossKeyPlus/src/Options.cpp b/plugins/BossKeyPlus/src/Options.cpp
index 2779438530..14c24b4eed 100644
--- a/plugins/BossKeyPlus/src/Options.cpp
+++ b/plugins/BossKeyPlus/src/Options.cpp
@@ -184,7 +184,7 @@ INT_PTR CALLBACK MainOptDlg(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam
return true;
case IDC_MAINOPT_LNK_HOTKEY:
- Options_Open(L"Customize", L"Hotkeys");
+ g_plugin.openOptions(L"Customize", L"Hotkeys");
return true;
}
return 0;
@@ -323,11 +323,11 @@ int OptsDlgInit(WPARAM wParam, LPARAM)
optDi.szGroup.a = LPGEN("Events");
optDi.szTab.a = LPGEN("Main");
optDi.flags = ODPF_BOLDGROUPS;
- Options_AddPage(wParam, &optDi);
+ g_plugin.addOptions(wParam, &optDi);
optDi.pfnDlgProc = AdvOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_OPTDIALOGADV);
optDi.szTab.a = LPGEN("Advanced");
- Options_AddPage(wParam, &optDi);
+ g_plugin.addOptions(wParam, &optDi);
return 0;
}