mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NOTEPAD] Don't handle main window accelerators in Find dialog (#7320)
This commit is contained in:
parent
3fa740aa81
commit
da26ec3465
1 changed files with 2 additions and 2 deletions
|
@ -637,8 +637,8 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
|
|||
|
||||
while (GetMessage(&msg, NULL, 0, 0))
|
||||
{
|
||||
if (!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg) &&
|
||||
!IsDialogMessage(Globals.hFindReplaceDlg, &msg))
|
||||
if ((!Globals.hFindReplaceDlg || !IsDialogMessage(Globals.hFindReplaceDlg, &msg)) &&
|
||||
!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
|
|
Loading…
Reference in a new issue