On 09/07/11 07:48, Egbert Eich wrote:
From: Stefan Dirsch<[email protected]>

Found by Marcus Meissner<[email protected]>

Signed-off-by: Egbert Eich<[email protected]>
---
  src/XKBui.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/XKBui.c b/src/XKBui.c
index c563efe..90d1eef 100644
--- a/src/XKBui.c
+++ b/src/XKBui.c
@@ -102,7 +102,7 @@ XkbDescPtr  xkb;
            char buf[20];
            sprintf(buf,"#%02x%02x%02x",(sdef.red>>8)&0xff,
                                                (sdef.green>>8)&0xff,
-                                               (sdef.blue>>8)&&0xff);
+                                               (sdef.blue>>8)&0xff);
            if (XAllocNamedColor(view->dpy,view->opts.cmap,buf,&sdef,&xdef)) {
                xkb->geom->colors[i].pixel= sdef.pixel;
  #ifdef DEBUG

Reviewed-by: Alan Coopersmith <[email protected]>

--
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to