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

ntdll: Fix a typo in SegSs handling in NtSetContextThread.

Spotted by Brendan Shanks. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent a33c14fd
...@@ -1310,7 +1310,7 @@ NTSTATUS WINAPI NtGetContextThread( HANDLE handle, CONTEXT *context ) ...@@ -1310,7 +1310,7 @@ NTSTATUS WINAPI NtGetContextThread( HANDLE handle, CONTEXT *context )
context->Eip = frame->eip; context->Eip = frame->eip;
context->EFlags = frame->eflags; context->EFlags = frame->eflags;
context->SegCs = frame->cs; context->SegCs = frame->cs;
context->SegSs = frame->ds; context->SegSs = frame->ss;
context->ContextFlags |= CONTEXT_CONTROL; context->ContextFlags |= CONTEXT_CONTROL;
} }
if (needed_flags & CONTEXT_SEGMENTS) if (needed_flags & CONTEXT_SEGMENTS)
......
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