From 484e959c29409742bbdbd115f76cfb590bf68e43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Wed, 9 Dec 2020 10:00:35 +0100 Subject: [PATCH] [USER32] Properly save EBX in the wndproc wrapper --- win32ss/user/user32/windows/wndproc_fixup.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32ss/user/user32/windows/wndproc_fixup.S b/win32ss/user/user32/windows/wndproc_fixup.S index d2c1d91bf7c..f010227dfb4 100644 --- a/win32ss/user/user32/windows/wndproc_fixup.S +++ b/win32ss/user/user32/windows/wndproc_fixup.S @@ -14,9 +14,9 @@ .code -/* +/* * LRESULT - * __cdecl + * __cdecl * CALL_EXTERN_WNDPROC( * WNDPROC WndProc, * HWND hWnd, @@ -33,7 +33,7 @@ FUNC _CALL_EXTERN_WNDPROC push edi push esi - push ebp + push ebx sub esp, 12