Other typos in CMYK conversions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reading Juraj's patch, saw this...

Changelog:
	Fixed typo in wingdi.h which prevented correct compilation of code
using the Get{C,M,Y}Value macros.

Vincent
Index: include/wingdi.h
===================================================================
RCS file: /home/wine/wine/include/wingdi.h,v
retrieving revision 1.75
diff -u -r1.75 wingdi.h
--- include/wingdi.h	4 Sep 2002 18:47:32 -0000	1.75
+++ include/wingdi.h	16 Sep 2002 03:18:56 -0000
@@ -423,9 +423,9 @@
 #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)       ((COLOREF)((((BYTE)(k)|((WORD)((BYTE)(y))<<8))|(((DWORD)(BYTE)(m))<<16))|(((DWORD)(BYTE)(c))<<24)))
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux