diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-25 22:06:40 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-25 22:06:40 -0400 |
| commit | 3648d379c69af6d2c470bd6991128bd61fb0c2d6 (patch) | |
| tree | 9e4832d41dad60adcc4300d84ea77862ce3eefb4 | |
| parent | 35dcac92d644c5ec03b9e4b2f01debec05f99e1c (diff) | |
Moved the IsDialogMessage under notkey to be safe.
| -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); } |
