mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 20:14:06 +00:00
ntdll: Unconditionally forward console events to kernelbase.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
e668cf356b
commit
b228e3df60
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue