diff options
author | Kirill Volinsky <Mataes2007@gmail.com> | 2018-05-16 13:28:43 +0300 |
---|---|---|
committer | Kirill Volinsky <Mataes2007@gmail.com> | 2018-05-16 13:28:43 +0300 |
commit | 2e8582832fe56c89bb422b82e884ddaf67a8dbb3 (patch) | |
tree | 632f1d87304b349d0a6357f1606ed01c8ddae37a /plugins/AutoShutdown/src/options.cpp | |
parent | 6118d2cff50492b4edc6d7b478c2fd2dc7fdbd7b (diff) |
AutoShutdown: cmplugin adaptation
Diffstat (limited to 'plugins/AutoShutdown/src/options.cpp')
-rw-r--r-- | plugins/AutoShutdown/src/options.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/AutoShutdown/src/options.cpp b/plugins/AutoShutdown/src/options.cpp index c9b8a508ce..f0b2255566 100644 --- a/plugins/AutoShutdown/src/options.cpp +++ b/plugins/AutoShutdown/src/options.cpp @@ -23,7 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. /* Option Page */
static HANDLE hHookOptInit;
-extern HINSTANCE hInst;
/* Trigger */
static HANDLE hHookModulesLoaded;
@@ -107,7 +106,7 @@ static INT_PTR CALLBACK ShutdownOptDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam static int ShutdownOptInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.hInstance = hInst;
+ odp.hInstance = g_plugin.getInst();
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SHUTDOWN);
odp.position = 900000002;
odp.szGroup.w = LPGENW("Events"); /* autotranslated */
|