summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Dirsch <sndirsch@suse.de>2011-09-07 21:48:33 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:22:24 -0800
commit8b9a704695bbf4e4002a999febb1f2580b04d9ee (patch)
treebfa8688431060b588cc793e5835bb7f0d8b878ee
parent5f46a108a2c539a8804453936f0e0f7d6572f103 (diff)
Fix an obvious typo: '&&' -> '&'.
Found by Marcus Meissner <meissner@suse.de> Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--src/XKBui.c2
1 files changed, 1 insertions, 1 deletions
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