repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: 819a0930c855c799ec1d473d14b246c40ae78bec:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit 819a0930c855c799ec1d473d14b246c40ae78bec
Author: Marc Lehmann 
Date:   Thu Jun 7 20:31:26 2012 +0000

    *** empty log message ***

diff --git a/src/rxvtimg.C b/src/rxvtimg.C
index 1dc4e9588e73a2106f1796ec5cf435b2f8493c66..
index ..f8261074e6771b698b6201802423c324da1efe3d 100644
--- a/src/rxvtimg.C
+++ b/src/rxvtimg.C
@@ -123,10 +123,7 @@ rxvt_img::new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb)

             uint32_t v = (r << 16) | (g << 8) | b;

-            if (ecb_big_endian ())
-              v = ecb_bswap32 (v);
-
-            if (byte_order_mismatch)
+            if (ecb_big_endian () ? !byte_order_mismatch : byte_order_mismatch)
               v = ecb_bswap32 (v);

             *dst++ = v;

-----END OF PAGE-----