From: Derek Foreman Date: Sun, 18 May 2003 19:08:26 +0000 (+0000) Subject: fix poor naming of default offset X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=dcdd743fa4915d3cc230f06a70cd7e038c67078a;p=chaz%2Fopenbox fix poor naming of default offset --- diff --git a/render/color.h b/render/color.h index 430fba46..a2970e4b 100644 --- a/render/color.h +++ b/render/color.h @@ -22,14 +22,14 @@ typedef u_int16_t pixel16; #endif /* HAVE_STDINT_H */ #if (G_BYTE_ORDER == G_BIG_ENDIAN) -#define default_red_shift 0 -#define default_green_shift 8 -#define default_blue_shift 16 +#define default_red_offset 0 +#define default_green_offset 8 +#define default_blue_offset 16 #define endian MSBFirst #else -#define default_red_shift 16 -#define default_green_shift 8 -#define default_blue_shift 0 +#define default_red_offset 16 +#define default_green_offset 8 +#define default_blue_offset 0 #define endian LSBFirst #endif /* G_BYTE_ORDER == G_BIG_ENDIAN */