Zebediah Figura : krnl386: Return to CALL32_CBClient_RetAddr from CBClientThunkSL().

Alexandre Julliard julliard at winehq.org
Mon Oct 4 15:42:17 CDT 2021


Module: wine
Branch: master
Commit: 0a01ad0c365f15ecb94edade038052bf69a4eb2a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0a01ad0c365f15ecb94edade038052bf69a4eb2a

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Sun Oct  3 19:00:48 2021 -0500

krnl386: Return to CALL32_CBClient_RetAddr from CBClientThunkSL().

Fixes a copy-paste error which was introduced by
71914125ceb1f9bfda8a90f26019c043112580b6.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/krnl386.exe16/thunk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/krnl386.exe16/thunk.c b/dlls/krnl386.exe16/thunk.c
index 4a373b6c7cb..21c2ce5c524 100644
--- a/dlls/krnl386.exe16/thunk.c
+++ b/dlls/krnl386.exe16/thunk.c
@@ -2094,8 +2094,8 @@ void WINAPI CBClientThunkSL( CONTEXT *context )
     stackLin[3] = 0;
     stackLin[4] = OFFSETOF(stack) + 12;
     stackLin[5] = SELECTOROF(stack);
-    stackLin[6] = OFFSETOF(CALL32_CBClientEx_RetAddr);  /* overwrite return address */
-    stackLin[7] = SELECTOROF(CALL32_CBClientEx_RetAddr);
+    stackLin[6] = OFFSETOF(CALL32_CBClient_RetAddr);  /* overwrite return address */
+    stackLin[7] = SELECTOROF(CALL32_CBClient_RetAddr);
     context->Eax = CALL32_CBClient( proc, args, stackLin + 4, &context->Esi );
     stack16_pop( 12 );
 }




More information about the wine-cvs mailing list