Commit 95ee2e2b authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Fixed typo which prevented correct compilation of code using the

Get{C,M,Y}Value macros.
parent ac7b9d37
......@@ -423,9 +423,9 @@ DECL_WINELIB_TYPE_AW(LOGCOLORSPACE)
#define GetBValue(rgb) (((rgb) >> 16) & 0xff)
#define GetKValue(cmyk) ((BYTE) (cmyk) )
#define GetYValue(cmyk) ((BYTE) ((cymk) >> 8))
#define GetMValue(cmyk) ((BYTE) ((cymk) >> 16))
#define GetCValue(cmyk) ((BYTE) ((cymk) >> 24))
#define GetYValue(cmyk) ((BYTE) ((cmyk) >> 8))
#define GetMValue(cmyk) ((BYTE) ((cmyk) >> 16))
#define GetCValue(cmyk) ((BYTE) ((cmyk) >> 24))
#define CMYK(c,m,y,k) ((COLORREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment