ntdll: Restoring all registers is better than doing nothing

Dmitry Timoshkov dmitry at codeweavers.com
Tue May 8 02:29:47 CDT 2007


Hello,

As reported in the bug 8306 restoring all registers is better than doing
nothing.

Changelog:
    ntdll: Restoring all registers is better than doing nothing.

---
 dlls/ntdll/signal_i386.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 69ae4dd..23a7106 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -760,8 +760,7 @@ void set_cpu_context( const CONTEXT *context )
     {
         if ((flags & CONTEXT_FULL) != (CONTEXT_FULL & ~CONTEXT_i386))
             FIXME( "setting partial context (%x) not supported\n", flags );
-        else
-            __wine_call_from_32_restore_regs( context );
+        __wine_call_from_32_restore_regs( context );
     }
 }
 
-- 
1.5.1.3






More information about the wine-patches mailing list