summaryrefslogtreecommitdiff
path: root/plugins/FavContacts
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/FavContacts
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'plugins/FavContacts')
-rw-r--r--plugins/FavContacts/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FavContacts/src/options.cpp b/plugins/FavContacts/src/options.cpp
index 27f2946cdb..55f1c10d6c 100644
--- a/plugins/FavContacts/src/options.cpp
+++ b/plugins/FavContacts/src/options.cpp
@@ -173,7 +173,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA
break;
case IDC_BTN_FONTS:
- Options_Open(L"Customize", L"Fonts and colors");
+ g_plugin.openOptions(L"Customize", L"Fonts and colors");
break;
case IDC_TXT_RADIUS:
@@ -261,6 +261,6 @@ int ProcessOptInitialise(WPARAM wParam, LPARAM)
odp.szTitle.a = LPGEN("Favorites");
odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = OptionsDlgProc;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}