From 8b9a704695bbf4e4002a999febb1f2580b04d9ee Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 7 Sep 2011 21:48:33 +0000 Subject: Fix an obvious typo: '&&' -> '&'. Found by Marcus Meissner Signed-off-by: Egbert Eich Reviewed-by: Alan Coopersmith Signed-off-by: Alan Coopersmith --- src/XKBui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XKBui.c b/src/XKBui.c index b6a3c54..15c2d8b 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 -- cgit v1.2.3