diff options
author | Mataes <mataes2007@gmail.com> | 2018-05-16 19:12:38 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2018-05-16 19:12:38 +0300 |
commit | b12321b9897b511e94301b73c1c48c533412d739 (patch) | |
tree | aeec4c481dc82376e22879e76a81fd2abb7138f5 /plugins/BuddyExpectator/src/options.cpp | |
parent | 3c4beeb99d4324fb453e928421c9b13d70ab4923 (diff) |
BossKey, BuddyExpectator, BuddyPounce, ChangeKeyboardLayout, ClientChangeNotify, Cln_skinedit, CmdLine: cmplugin adaptation
Diffstat (limited to 'plugins/BuddyExpectator/src/options.cpp')
-rw-r--r-- | plugins/BuddyExpectator/src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp index 2cf090f633..576fabd1dd 100644 --- a/plugins/BuddyExpectator/src/options.cpp +++ b/plugins/BuddyExpectator/src/options.cpp @@ -432,7 +432,7 @@ static INT_PTR CALLBACK PopupOptionsFrameProc(HWND hwndDlg, UINT uMsg, WPARAM wP static int OptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.hInstance = hInst;
+ odp.hInstance = g_plugin.getInst();
odp.szGroup.w = LPGENW("Contacts");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONSPANEL);
odp.szTitle.w = LPGENW("Buddy Expectator");
@@ -529,7 +529,7 @@ int UserinfoInit(WPARAM wparam, LPARAM lparam) {
if (lparam > 0) {
OPTIONSDIALOGPAGE uip = { sizeof(uip) };
- uip.hInstance = hInst;
+ uip.hInstance = g_plugin.getInst();
uip.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);
uip.szTitle.a = LPGEN("Buddy Expectator");
uip.pfnDlgProc = UserinfoDlgProc;
|