--- trunk/reactos/subsys/system/notepad/main.c 2005-09-23 15:42:40 UTC (rev 18015)
+++ trunk/reactos/subsys/system/notepad/main.c 2005-09-23 15:46:10 UTC (rev 18016)
@@ -376,11 +376,12 @@
while (GetMessage(&msg, 0, 0, 0))
{
- if (!TranslateAccelerator(Globals.hMainWnd, hAccel, &msg) && !IsDialogMessage(Globals.hFindReplaceDlg, &msg))
- {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
+ if (!IsDialogMessage(Globals.hFindReplaceDlg, &msg) &&
+ !TranslateAccelerator(Globals.hMainWnd, hAccel, &msg))
+ {
+ TranslateMessage(&msg);
+ DispatchMessage(&msg);
}
+ }
return msg.wParam;
}