summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/src/options.cpp')
-rw-r--r--plugins/AvatarHistory/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/options.cpp b/plugins/AvatarHistory/src/options.cpp
index 7987f862a4..b0272797b6 100644
--- a/plugins/AvatarHistory/src/options.cpp
+++ b/plugins/AvatarHistory/src/options.cpp
@@ -147,7 +147,7 @@ static INT_PTR CALLBACK PopupsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
int OptInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.hInstance = hInst;
+ odp.hInstance = g_plugin.getInst();
odp.szGroup.w = LPGENW("History"); // group to put your item under
odp.szTitle.w = LPGENW("Avatar"); // name of the item
odp.pfnDlgProc = OptionsDlgProc;