ntdll: Fix a typo in SegSs handling in NtSetContextThread.
Spotted by Brendan Shanks. Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a33c14fd44
commit
c715243122
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue