Michael Karcher : ntdll: Fix get_server_context_flags.

Alexandre Julliard julliard at winehq.org
Mon Aug 3 11:15:51 CDT 2009


Module: wine
Branch: master
Commit: 89d4402cc524837c61f61594a364e3797adbfc86
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=89d4402cc524837c61f61594a364e3797adbfc86

Author: Michael Karcher <wine at mkarcher.dialup.fu-berlin.de>
Date:   Sat Jul 25 14:23:31 2009 +0200

ntdll: Fix get_server_context_flags.

---

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

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 0c73ffd..c2d839c 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -794,7 +794,7 @@ static inline unsigned int get_server_context_flags( DWORD flags )
 {
     unsigned int ret = 0;
 
-    flags &= ~0x3f;  /* mask CPU id flags */
+    flags &= 0x3f;  /* mask CPU id flags */
     if (flags & CONTEXT_CONTROL) ret |= SERVER_CTX_CONTROL;
     if (flags & CONTEXT_INTEGER) ret |= SERVER_CTX_INTEGER;
 #ifdef CONTEXT_SEGMENTS




More information about the wine-cvs mailing list