[ros-dev] [ros-diffs] [tkreuzer] 66613: [WIN32K] Fix a typo

Jerome Gardou jerome.gardou at reactos.org
Sun Mar 8 23:39:39 UTC 2015


Hey Timo,

Le 09/03/2015 00:36, tkreuzer at svn.reactos.org a écrit :
> Author: tkreuzer
> Date: Sun Mar  8 23:36:04 2015
> New Revision: 66613
>
> URL: http://svn.reactos.org/svn/reactos?rev=66613&view=rev
> Log:
> [WIN32K]
> Fix a typo
>
> Modified:
>      trunk/reactos/win32ss/gdi/eng/bitblt.c
>
> Modified: trunk/reactos/win32ss/gdi/eng/bitblt.c
> URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/bitblt.c?rev=66613&r1=66612&r2=66613&view=diff
> ==============================================================================
> --- trunk/reactos/win32ss/gdi/eng/bitblt.c	[iso-8859-1] (original)
> +++ trunk/reactos/win32ss/gdi/eng/bitblt.c	[iso-8859-1] Sun Mar  8 23:36:04 2015
> @@ -468,7 +468,7 @@
>           if (psoMask == NULL)
>           {
>               /* We have no mask, assume the mask is all foreground */
> -            rop4 &= (rop4 & 0xFF) || ((rop4 & 0xFF) << 8);
> +            rop4 = (rop4 & 0xFF) || ((rop4 & 0xFF) << 8);
Looks dubious. Is equivalent to ((rop4 & 0xFF) != 0)
>               UsesMask = FALSE;
>           }
>       }
>
>




More information about the Ros-dev mailing list