Commit c96795ff authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

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.
parent b060f6e1
2005-06-17 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
#if G_BYTE_ORDER == GDK_LSB_FIRST.
2005-06-17 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (validate_visible_area): don't try to update
......
2005-06-17 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
#if G_BYTE_ORDER == GDK_LSB_FIRST.
2005-06-17 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (validate_visible_area): don't try to update
......
2005-06-17 Owen Taylor <otaylor@redhat.com>
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
#if G_BYTE_ORDER == GDK_LSB_FIRST.
2005-06-17 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (validate_visible_area): don't try to update
......
......@@ -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];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment