Commit b228e3df authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ntdll: Unconditionally forward console events to kernelbase.

parent e668cf35
......@@ -3217,9 +3217,7 @@ done:
*/
NTSTATUS WINAPI __wine_ctrl_routine( void *arg )
{
DWORD ret = 0;
if (pCtrlRoutine && NtCurrentTeb()->Peb->ProcessParameters->ConsoleHandle) ret = pCtrlRoutine( arg );
DWORD ret = pCtrlRoutine ? pCtrlRoutine( arg ) : 0;
RtlExitUserThread( ret );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment