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
|
// don't call TranslateMessage(); we do our own keyboard handling
|
||||||
if (DispatchMessage(©) != FALSE)
|
if (DispatchMessage(©) != FALSE)
|
||||||
return;
|
return;
|
||||||
// TODO move this under notkey?
|
notkey:
|
||||||
if (IsDialogMessage(active, msg) != 0)
|
if (IsDialogMessage(active, msg) != 0)
|
||||||
return;
|
return;
|
||||||
notkey:
|
|
||||||
DispatchMessage(msg);
|
DispatchMessage(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue