summaryrefslogtreecommitdiff
path: root/otk/truerendercontrol.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-18 03:09:33 +0000
committerDana Jansens <danakj@orodu.net>2003-01-18 03:09:33 +0000
commit4ac47a41a15626a3da41d68efd2212869c9188b2 (patch)
tree7a864e627f9c3652bda1da79cce71ed96872d53f /otk/truerendercontrol.cc
parent3fa13524288087a1d259e48f0dc5f65eeffd11fb (diff)
renders!!!!!!!!!!!!!
Diffstat (limited to 'otk/truerendercontrol.cc')
-rw-r--r--otk/truerendercontrol.cc2
1 files changed, 1 insertions, 1 deletions
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