Author: greatlrd
Date: Fri Jun 6 19:42:37 2008
New Revision: 33875
URL:
http://svn.reactos.org/svn/reactos?rev=33875&view=rev
Log:
thx irc nick : Goplat notice my macro was bit wrong for detect the source rop, did take to
many short cut.
Modified:
branches/win32k-gdi-dx/dll/win32/gdi32/include/gdi32p.h
Modified: branches/win32k-gdi-dx/dll/win32/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/branches/win32k-gdi-dx/dll/win32/gdi32/i…
==============================================================================
--- branches/win32k-gdi-dx/dll/win32/gdi32/include/gdi32p.h [iso-8859-1] (original)
+++ branches/win32k-gdi-dx/dll/win32/gdi32/include/gdi32p.h [iso-8859-1] Fri Jun 6
19:42:37 2008
@@ -26,7 +26,7 @@
);
/* MACRO ********************************************************************/
-#define ROP_USES_SOURCE(Rop) (Rop & 0x00330000)
+#define ROP_USES_SOURCE(Rop) ((Rop << 2) ^ Rop) & 0xCC0000
/* DEFINES *******************************************************************/