Fixed typo which prevented correct compilation of code using the

Get{C,M,Y}Value macros.
This commit is contained in:
Vincent Béron 2002-09-16 22:35:24 +00:00 committed by Alexandre Julliard
parent ac7b9d3797
commit 95ee2e2be4
1 changed files with 3 additions and 3 deletions

View File

@ -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)))