diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-06-23 13:49:06 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-06-23 13:49:06 +0000 |
commit | 3c4ffb12ab880224824366eb149ac5f5d0dccfe1 (patch) | |
tree | b728b964889deafddc53ba96d487564b9815041b /gdk/gdkcairo.c | |
parent | 3be3d84b6aec64b9e7b50f8ccd52af1433793a4d (diff) | |
download | gtk+-3c4ffb12ab880224824366eb149ac5f5d0dccfe1.tar.gz |
Fix the big endian case for 3-channel source. (Reported by David Zeuthen)
2005-06-23 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
big endian case for 3-channel source. (Reported by
David Zeuthen)
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r-- | gdk/gdkcairo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index 16ff438aee..5c011c0889 100644 --- a/gdk/gdkcairo.c +++ b/gdk/gdkcairo.c @@ -180,9 +180,9 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr, q[1] = p[1]; q[2] = p[0]; #else - q[0] = p[0]; - q[1] = p[1]; - q[2] = p[2]; + q[1] = p[0]; + q[2] = p[1]; + q[3] = p[2]; #endif p += 3; q += 4; |