fix poor naming of default offset

This commit is contained in:
Derek Foreman 2003-05-18 19:08:26 +00:00
parent 90ca2a206b
commit dcdd743fa4

View file

@ -22,14 +22,14 @@ typedef u_int16_t pixel16;
#endif /* HAVE_STDINT_H */ #endif /* HAVE_STDINT_H */
#if (G_BYTE_ORDER == G_BIG_ENDIAN) #if (G_BYTE_ORDER == G_BIG_ENDIAN)
#define default_red_shift 0 #define default_red_offset 0
#define default_green_shift 8 #define default_green_offset 8
#define default_blue_shift 16 #define default_blue_offset 16
#define endian MSBFirst #define endian MSBFirst
#else #else
#define default_red_shift 16 #define default_red_offset 16
#define default_green_shift 8 #define default_green_offset 8
#define default_blue_shift 0 #define default_blue_offset 0
#define endian LSBFirst #define endian LSBFirst
#endif /* G_BYTE_ORDER == G_BIG_ENDIAN */ #endif /* G_BYTE_ORDER == G_BIG_ENDIAN */