Marcus Meissner
ac8636ef6a
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=723
14 lines
562 B
Plaintext
14 lines
562 B
Plaintext
diff --git a/server/thread.c b/server/thread.c
|
|
index cfdf42c756..e5b670649a 100644
|
|
--- a/server/thread.c
|
|
+++ b/server/thread.c
|
|
@@ -1848,7 +1848,7 @@ DECL_HANDLER(get_thread_context)
|
|
{
|
|
assert( reply->self );
|
|
memset( context, 0, sizeof(context_t) );
|
|
- context->cpu = thread_context->regs.cpu;
|
|
+ context->cpu = current->process->cpu;
|
|
if (req->flags & system_flags)
|
|
{
|
|
get_thread_context( thread, context, req->flags & system_flags );
|