diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/options.cpp | 4 |
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]);
|