Author: mjansen
Date: Thu Aug 18 19:34:12 2016
New Revision: 72333
URL:
http://svn.reactos.org/svn/reactos?rev=72333&view=rev
Log:
Addendum to r72332
Modified:
trunk/reactos/sdk/include/psdk/gdipluscolor.h
Modified: trunk/reactos/sdk/include/psdk/gdipluscolor.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/psdk/gdiplusco…
==============================================================================
--- trunk/reactos/sdk/include/psdk/gdipluscolor.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/psdk/gdipluscolor.h [iso-8859-1] Thu Aug 18 19:34:12 2016
@@ -106,7 +106,7 @@
VOID SetFromCOLORREF(COLORREF rgb)
{
- Argb = 0xff000000 | rgb & 0x000000ff << 16 | rgb & 0x0000ff00 | rgb
& 0x00ff0000 >> 16;
+ Argb = 0xff000000 | (rgb & 0x000000ff) << 16 | (rgb & 0x0000ff00) |
(rgb & 0x00ff0000) >> 16;
}
VOID SetValue(ARGB argb)
@@ -116,7 +116,7 @@
COLORREF ToCOLORREF(VOID)
{
- return Argb & 0x000000ff << 16 | Argb & 0x0000ff00 | Argb &
0x00ff0000 >> 16;
+ return (Argb & 0x000000ff) << 16 | (Argb & 0x0000ff00) | (Argb
& 0x00ff0000) >> 16;
}
protected: