diff options
Diffstat (limited to 'plugins/Console')
-rw-r--r-- | plugins/Console/src/Console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp index fffcceddc0..50c07efb08 100644 --- a/plugins/Console/src/Console.cpp +++ b/plugins/Console/src/Console.cpp @@ -932,7 +932,7 @@ void __cdecl ConsoleThread(void *arg) break;
}
- if (IsDialogMessage(hwnd, &msg))
+ if (hwnd != NULL && IsDialogMessage(hwnd, &msg)) /* Wine fix. */
continue;
TranslateMessage(&msg);
|