summaryrefslogtreecommitdiff
path: root/plugins/ShellExt/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ShellExt/src/options.cpp')
-rw-r--r--plugins/ShellExt/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ShellExt/src/options.cpp b/plugins/ShellExt/src/options.cpp
index aaa3f77f7f..dee192de91 100644
--- a/plugins/ShellExt/src/options.cpp
+++ b/plugins/ShellExt/src/options.cpp
@@ -115,7 +115,7 @@ int OnOptionsInit(WPARAM wParam, LPARAM)
opt.szTitle.a = LPGEN("Shell context menus");
opt.position = -1066;
opt.pszTemplate = MAKEINTRESOURCEA(IDD_SHLOPTS);
- opt.hInstance = hInst;
+ opt.hInstance = g_plugin.getInst();
opt.pfnDlgProc = OptDialogProc;
Options_AddPage(wParam, &opt);
return 0;