Moved the IsDialogMessage under notkey to be safe.

This commit is contained in:
Pietro Gagliardi 2014-08-25 22:06:40 -04:00
parent 35dcac92d6
commit 3648d379c6
1 changed files with 1 additions and 2 deletions

View File

@ -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(&copy) != FALSE)
return;
// TODO move this under notkey?
notkey:
if (IsDialogMessage(active, msg) != 0)
return;
notkey:
DispatchMessage(msg);
}