Moved the IsDialogMessage under notkey to be safe.
This commit is contained in:
parent
35dcac92d6
commit
3648d379c6
|
@ -29,10 +29,9 @@ void uimsgloop_area(HWND active, HWND focus, MSG *msg)
|
|||
// don't call TranslateMessage(); we do our own keyboard handling
|
||||
if (DispatchMessage(©) != FALSE)
|
||||
return;
|
||||
// TODO move this under notkey?
|
||||
notkey:
|
||||
if (IsDialogMessage(active, msg) != 0)
|
||||
return;
|
||||
notkey:
|
||||
DispatchMessage(msg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue