On Wed, 30 Nov 2011 at 13:43:22 -0500, GhostlyDeath wrote:
> I've only started recently using wmaker-crm, but the swapped color
> issue for the icon has been around since wmaker-crm 0.92.0 2011/04/18,
> of which I am using a Debian package of. This does not occur in the
> Debian squeeze version of wmaker.
>
> However the file "Changelog" (in /) for the orig of the 0.92-crm and
> 0.95-crm Debian package says "- fixed issue with icon colors on big
> endian platforms (Max Loparyev <[email protected]>)", so perhaps you
> accidently unfixed the bug when rewriting something.
That patch added this
#if BYTE_ORDER == BIG_ENDIAN
imgdata[2] = (pixel >> 24) & 0xff; /* A */
imgdata[1] = (pixel >> 16) & 0xff; /* R */
imgdata[0] = (pixel >> 8) & 0xff; /* G */
imgdata[3] = (pixel >> 0) & 0xff; /* B */
#else /* Little endian */
imgdata[3] = (pixel >> 24) & 0xff; /* A */
imgdata[0] = (pixel >> 16) & 0xff; /* R */
imgdata[1] = (pixel >> 8) & 0xff; /* G */
imgdata[2] = (pixel >> 0) & 0xff; /* B */
#endif
which was not modified since. Can you compile wmaker-crm yourself making
sure to define BYTE_ORDER appropriately (to exclude the possibility of
the package being compiled differently)?
--
To unsubscribe, send mail to [email protected].