ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtimg.C
(Generate patch)

Comparing rxvt-unicode/src/rxvtimg.C (file contents):
Revision 1.55 by root, Thu Jun 7 20:26:21 2012 UTC vs.
Revision 1.56 by root, Thu Jun 7 20:31:26 2012 UTC

121 uint8_t g = *src++; 121 uint8_t g = *src++;
122 uint8_t b = *src++; 122 uint8_t b = *src++;
123 123
124 uint32_t v = (r << 16) | (g << 8) | b; 124 uint32_t v = (r << 16) | (g << 8) | b;
125 125
126 if (ecb_big_endian ()) 126 if (ecb_big_endian () ? !byte_order_mismatch : byte_order_mismatch)
127 v = ecb_bswap32 (v);
128
129 if (byte_order_mismatch)
130 v = ecb_bswap32 (v); 127 v = ecb_bswap32 (v);
131 128
132 *dst++ = v; 129 *dst++ = v;
133 } 130 }
134 else 131 else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines