diff options
| -rw-r--r-- | redo/uitask_windows.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redo/uitask_windows.c b/redo/uitask_windows.c index e38a62f..193b24f 100644 --- a/redo/uitask_windows.c +++ b/redo/uitask_windows.c @@ -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); } |
