diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-12 01:22:51 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-12 01:22:51 +0000 |
| commit | 6b1381d69daf7c325d4a8165a8b0006d0dce85a5 (patch) | |
| tree | 6c0bc642574ed84af588d65008b41f50ee2be9b6 | |
| parent | a0738a0197b23d1bb2b2a58ae8d82a998fbf2d99 (diff) | |
add mising ()s
| -rw-r--r-- | otk/rendercolor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otk/rendercolor.cc b/otk/rendercolor.cc index 31823341..7a0b5fcc 100644 --- a/otk/rendercolor.cc +++ b/otk/rendercolor.cc @@ -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)) { |
