]> Dogcows Code - chaz/openbox/commitdiff
renders!!!!!!!!!!!!!
authorDana Jansens <danakj@orodu.net>
Sat, 18 Jan 2003 03:09:33 +0000 (03:09 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 18 Jan 2003 03:09:33 +0000 (03:09 +0000)
otk/truerendercontrol.cc

index 49ed964391c72a3017239343a7df722588414051..a15cbd57a0ecbd2fe0a0f5a1d3a3dc21f35b28d3 100644 (file)
@@ -58,7 +58,7 @@ TrueRenderControl::~TrueRenderControl()
 static inline void renderPixel(XImage *im, unsigned char *dp,
                               unsigned long pixel)
 {
-  unsigned int bpp = im->bits_per_pixel + (im->byte_order == MSBFirst) ? 1 : 0;
+  unsigned int bpp = im->bits_per_pixel + (im->byte_order == MSBFirst ? 1 : 0);
 
   switch (bpp) {
   case  8: //  8bpp
This page took 0.025834 seconds and 4 git commands to generate.