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.52 by root, Thu Jun 7 20:20:35 2012 UTC vs.
Revision 1.53 by root, Thu Jun 7 20:22:40 2012 UTC

115 { 115 {
116 uint8_t r = *src++; 116 uint8_t r = *src++;
117 uint8_t g = *src++; 117 uint8_t g = *src++;
118 uint8_t b = *src++; 118 uint8_t b = *src++;
119 119
120 uint32_t v = r | (g << 8) | (b << 16); 120 uint32_t v = (r << 16) | (g << 8) | b;
121 121
122 if (ecb_big_endian ()) 122 if (ecb_big_endian ())
123 v = ecb_bswap32 (v); 123 v = ecb_bswap32 (v);
124 124
125 *dst++ = v; 125 *dst++ = v;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines