summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-21 19:14:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-21 19:14:07 +0000
commit8ba0d63234b84060efe27542bf317cb9cf50b3af (patch)
treea79f12f9d014039694d52f13bb4a23a9f408a4d9 /src
parentba456be50d3b780e4accf075ba78d5badf282b05 (diff)
fix for a dll name
git-svn-id: http://svn.miranda-ng.org/main/trunk@14307 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp
index 28ddc75529..b27baebe20 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -452,8 +452,8 @@ static void CALLBACK FilterSearchTimerFunc(HWND hwnd, UINT, UINT_PTR, DWORD)
if (!dat)
return;
- if (hFilterSearchWnd == NULL)
- hFilterSearchWnd = CreateWindowA("STATIC", "Test", WS_OVERLAPPED | WS_DISABLED, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, GetModuleHandleA("mir_app.dll"), 0); // Fake window to keep option page focused
+ if (hFilterSearchWnd == NULL) // Fake window to keep option page focused
+ hFilterSearchWnd = CreateWindowA("STATIC", "Test", WS_OVERLAPPED | WS_DISABLED, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, g_hInst, 0);
if (FilterPage < dat->arOpd.getCount())
FindFilterStrings(TRUE, dat->currentPage == FilterPage, hFilterSearchWnd, dat->arOpd[FilterPage]);