[ros-diffs] [greatlrd] 33875: thx irc nick : Goplat notice my macro was bit wrong for detect the source rop, did take to many short cut.
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Sat Jun 7 02:42:38 CEST 2008
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/include/gdi32p.h?rev=33875&r1=33874&r2=33875&view=diff
==============================================================================
--- 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 *******************************************************************/
More information about the Ros-diffs
mailing list