summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraAdvancedSearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA/src/MraAdvancedSearch.cpp')
-rw-r--r--protocols/MRA/src/MraAdvancedSearch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MRA/src/MraAdvancedSearch.cpp b/protocols/MRA/src/MraAdvancedSearch.cpp
index dc39725dfa..6c62bca48f 100644
--- a/protocols/MRA/src/MraAdvancedSearch.cpp
+++ b/protocols/MRA/src/MraAdvancedSearch.cpp
@@ -336,8 +336,8 @@ HWND CMraProto::SearchAdvanced(HWND hWndDlg)
HWND CMraProto::CreateExtendedSearchUI(HWND owner)
{
- if (masMraSettings.hInstance && owner)
- return CreateDialogParam(masMraSettings.hInstance, MAKEINTRESOURCE(IDD_MRAADVANCEDSEARCH), owner, AdvancedSearchDlgProc, (LPARAM)this);
+ if (g_hInstance && owner)
+ return CreateDialogParam(g_hInstance, MAKEINTRESOURCE(IDD_MRAADVANCEDSEARCH), owner, AdvancedSearchDlgProc, (LPARAM)this);
return NULL;
}