summaryrefslogtreecommitdiff
path: root/plugins/AutoRun/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoRun/src')
-rw-r--r--plugins/AutoRun/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp
index 98accc4b3f..f1badb4082 100644
--- a/plugins/AutoRun/src/main.cpp
+++ b/plugins/AutoRun/src/main.cpp
@@ -102,9 +102,8 @@ static INT_PTR CALLBACK DlgProcAutorunOpts(HWND hwndDlg, UINT msg, WPARAM, LPARA
static int AutorunOptInitialise(WPARAM wParam, LPARAM)
{
- OPTIONSDIALOGPAGE odp = { 0 };
+ OPTIONSDIALOGPAGE odp = {};
odp.position = 100100000;
- odp.hInstance = g_plugin.getInst();
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_AUTORUN);
odp.szTitle.a = MODULENAME;
odp.szGroup.a = LPGEN("Services");