From 3df3e5372f2c41ef08c2dddecc81553592f0dee3 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 18 Aug 1999 18:24:08 +0000 Subject: [PATCH] Bugfix: restore STACK16FRAME fields in SwitchStackBack16. --- loader/task.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/loader/task.c b/loader/task.c index 3f18afb8b9..80d4d80370 100644 --- a/loader/task.c +++ b/loader/task.c @@ -1227,13 +1227,10 @@ void WINAPI SwitchStackBack16( CONTEXT86 *context ) /* Build a stack frame for the return */ newFrame = CURRENT_STACK16; - newFrame->frame32 = oldFrame->frame32; - if (TRACE_ON(relay)) - { - newFrame->module_cs = oldFrame->module_cs; - newFrame->callfrom_ip = oldFrame->callfrom_ip; - newFrame->entry_ip = oldFrame->entry_ip; - } + newFrame->frame32 = oldFrame->frame32; + newFrame->module_cs = oldFrame->module_cs; + newFrame->callfrom_ip = oldFrame->callfrom_ip; + newFrame->entry_ip = oldFrame->entry_ip; } -- 2.32.0.93.g670b81a890