From: Dana Jansens Date: Sat, 18 Jan 2003 03:09:33 +0000 (+0000) Subject: renders!!!!!!!!!!!!! X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4ac47a41a15626a3da41d68efd2212869c9188b2;p=chaz%2Fopenbox renders!!!!!!!!!!!!! --- diff --git a/otk/truerendercontrol.cc b/otk/truerendercontrol.cc index 49ed9643..a15cbd57 100644 --- a/otk/truerendercontrol.cc +++ b/otk/truerendercontrol.cc @@ -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