summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TrafficCounter/src/options.cpp')
-rw-r--r--plugins/TrafficCounter/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp
index 16cfb39ab7..1da2a9ee09 100644
--- a/plugins/TrafficCounter/src/options.cpp
+++ b/plugins/TrafficCounter/src/options.cpp
@@ -344,7 +344,7 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM)
// Main options page
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 900000000;
- odp.hInstance = hInst;
+ odp.hInstance = g_plugin.getInst();
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAFFIC);
odp.szGroup.a = LPGEN("Services");
odp.szTab.a = LPGEN("Options");