diff options
Diffstat (limited to 'app/wlib/gtklib/gtkcolor.c')
-rw-r--r-- | app/wlib/gtklib/gtkcolor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/wlib/gtklib/gtkcolor.c b/app/wlib/gtklib/gtkcolor.c index 3856f2a..cf17199 100644 --- a/app/wlib/gtklib/gtkcolor.c +++ b/app/wlib/gtklib/gtkcolor.c @@ -37,7 +37,7 @@ EXPORT wDrawColor wDrawColorWhite; EXPORT wDrawColor wDrawColorBlack; -#define RGB(R,G,B) ( ((long)(255&0xFF))<<24 | (((long)((R)&0xFF))<<16) | (((long)((G)&0xFF))<<8) | ((long)((B)&0xFF)) ) +#define RGB(R,G,B) ( ((long)((R)&0xFF)<<16) | ((long)((G)&0xFF)<<8) | ((long)((B)&0xFF)) ) #define MAX_COLOR_DISTANCE (3) |