diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-06-17 14:17:43 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-06-17 14:17:43 +0000 |
commit | c96795ffb3fbb3a44e0b8ca5ccb3099be610a657 (patch) | |
tree | ea2db78d2a69c25745aaf043e5b3a5a7e74d6e81 /gdk | |
parent | b060f6e12d43701c1d8b7ebfd4987a23f3cd23ab (diff) | |
download | gdk-pixbuf-c96795ffb3fbb3a44e0b8ca5ccb3099be610a657.tar.gz |
Fix #if G_BYTE_ORDER == GDK_LSB_FIRST.
2005-06-17 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
#if G_BYTE_ORDER == GDK_LSB_FIRST.
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkcairo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index c6306d5ac..16ff438ae 100644 --- a/gdk/gdkcairo.c +++ b/gdk/gdkcairo.c @@ -175,10 +175,10 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr, while (p < end) { -#if G_BYTE_ORDER == GDK_LSB_FIRST +#if G_BYTE_ORDER == G_LITTLE_ENDIAN q[0] = p[2]; q[1] = p[1]; - q[2] = p[2]; + q[2] = p[0]; #else q[0] = p[0]; q[1] = p[1]; |