]> Dogcows Code - chaz/openbox/commitdiff
add mising ()s
authorDana Jansens <danakj@orodu.net>
Wed, 12 Feb 2003 01:22:51 +0000 (01:22 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 12 Feb 2003 01:22:51 +0000 (01:22 +0000)
otk/rendercolor.cc

index 31823341c7e61bfae81851544ceca1eef2a59c43..7a0b5fcc4fcbb0c0c32ae9338791e341709f8d51 100644 (file)
@@ -61,9 +61,9 @@ void RenderColor::create()
     const ScreenInfo *info = display->screenInfo(_screen);
 
     XColor xcol;    // convert from 0-0xff to 0-0xffff
-    xcol.red = _red << 8 | _red;
-    xcol.green = _green << 8 | _green;
-    xcol.blue = _blue << 8 | _blue;
+    xcol.red = (_red << 8) | _red;
+    xcol.green = (_green << 8) | _green;
+    xcol.blue = (_blue << 8) | _blue;
     xcol.pixel = 0;
 
     if (! XAllocColor(**display, info->colormap(), &xcol)) {
This page took 0.023104 seconds and 4 git commands to generate.