1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

Trivial coding style fix

This commit is contained in:
Carlos R. Mafra
2009-09-14 22:00:58 +02:00
parent 18408fff93
commit ca2c1f900d

View File

@@ -235,15 +235,11 @@ static void setMiniwindow(WMWindow * win, RImage * image)
int offs = (x + y * image->width); int offs = (x + y * image->width);
if (image->format == RRGBFormat) if (image->format == RRGBFormat)
pixel = pixel = image->data[offs * 3] << 16 | image->data[offs * 3 + 1] << 8
image->data[offs * 3] << 16 | image->data[offs * 3 + | image->data[offs * 3 + 2];
1] << 8 | image->data[offs * 3 + 2];
else else
pixel = pixel = image->data[offs * 4] << 16 | image->data[offs * 4 + 1] << 8
image->data[offs * 4] << 16 | image->data[offs * 4 + | image->data[offs * 4 + 2] | image->data[offs * 4 + 3] << 24;
1] << 8 | image->data[offs * 4 +
2] | image->
data[offs * 4 + 3] << 24;
data[o++] = pixel; data[o++] = pixel;
} }