Skip to content
Snippets Groups Projects
Commit 95ee2e2b authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard
Browse files

Fixed typo which prevented correct compilation of code using the

Get{C,M,Y}Value macros.
parent ac7b9d37
No related branches found
No related tags found
No related merge requests found
......@@ -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)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment