Author: tkreuzer
Date: Mon Jun 20 13:34:19 2011
New Revision: 52384
URL:
http://svn.reactos.org/svn/reactos?rev=52384&view=rev
Log:
[CRT]
Fix call_ebp_func, spotted by Thomas Faber
Modified:
trunk/reactos/lib/sdk/crt/except/cppexcept.c
Modified: trunk/reactos/lib/sdk/crt/except/cppexcept.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/except/cppexce…
==============================================================================
--- trunk/reactos/lib/sdk/crt/except/cppexcept.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/except/cppexcept.c [iso-8859-1] Mon Jun 20 13:34:19 2011
@@ -50,10 +50,11 @@
#ifdef _MSC_VER
__asm
{
+ mov eax, func
push ebx
push ebp
mov ebp, _ebp
- call func
+ call eax
pop ebp
pop ebx
mov result, eax