summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption_subbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_subbase.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption_subbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_subbase.cpp b/plugins/HistoryStats/src/dlgoption_subbase.cpp
index fca95cf406..813f01a8c6 100644
--- a/plugins/HistoryStats/src/dlgoption_subbase.cpp
+++ b/plugins/HistoryStats/src/dlgoption_subbase.cpp
@@ -44,7 +44,7 @@ void DlgOption::SubBase::createWindow(DlgOption* pParent, WORD nDlgResource, con
m_pParent = pParent;
CreateDialogParam(
- g_hInst,
+ g_plugin.getInst(),
MAKEINTRESOURCE(nDlgResource),
m_pParent->getHWnd(),
staticDlgProc,