summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-17 20:51:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-17 20:51:37 +0300
commit7639f72273189df60566755c0d5f1e4ab7201b67 (patch)
tree94a51765449331befe968a90b48cbf08fa83e6ed /plugins/NoHistory/src/options.cpp
parent523f3588b6f21adcc4bcf3ec3ffad05e2298863a (diff)
NewAwaySys, NewEventNotify, NewXstatusNotify, NoHistory, NotesReminders, NotifyAnything, Nudge => CMPlugin
Diffstat (limited to 'plugins/NoHistory/src/options.cpp')
-rw-r--r--plugins/NoHistory/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NoHistory/src/options.cpp b/plugins/NoHistory/src/options.cpp
index a631c749fa..da4d9555d2 100644
--- a/plugins/NoHistory/src/options.cpp
+++ b/plugins/NoHistory/src/options.cpp
@@ -221,7 +221,7 @@ int OptInit(WPARAM wParam, LPARAM)
OPTIONSDIALOGPAGE odp = { 0 };
odp.flags = ODPF_BOLDGROUPS|ODPF_UNICODE;
odp.position = -790000000;
- odp.hInstance = hInst;
+ odp.hInstance = g_plugin.getInst();
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT);
odp.szTitle.w = LPGENW("No History");
odp.szGroup.w = LPGENW("History");