diff options
Diffstat (limited to 'plugins/AsSingleWindow/src/Options.cpp')
-rw-r--r-- | plugins/AsSingleWindow/src/Options.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/AsSingleWindow/src/Options.cpp b/plugins/AsSingleWindow/src/Options.cpp index 80abf5b90f..54da7362e4 100644 --- a/plugins/AsSingleWindow/src/Options.cpp +++ b/plugins/AsSingleWindow/src/Options.cpp @@ -1,7 +1,4 @@ #include "stdafx.h" -#include "AsSingleWindow.h" -#include "Options.h" -#include "resource.h" int InitOptions(WPARAM wParam, LPARAM) { @@ -12,7 +9,7 @@ int InitOptions(WPARAM wParam, LPARAM) Opts.pfnDlgProc = cbOptionsDialog; Opts.pszTemplate = MAKEINTRESOURCEA(IDD_ASW_OPTIONSPAGE); - Opts.hInstance = pluginVars.hInst; + Opts.hInstance = g_plugin.getInst(); Opts.flags = ODPF_BOLDGROUPS; Options_AddPage(wParam, &Opts); |