diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c index 5470a598584..6677fed5a4e 100644 --- a/dlls/ntdll/signal_x86_64.c +++ b/dlls/ntdll/signal_x86_64.c @@ -3049,7 +3049,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec dispatch.EstablisherFrame = new_context.Rsp; } - if (dispatch.EstablisherFrame == (ULONG64)end_frame) break; + if (context->Rsp == (ULONG64)end_frame) break; *context = new_context; }