diff options
author | Stefan Dirsch <sndirsch@suse.de> | 2011-09-07 21:48:33 +0000 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-11 20:22:24 -0800 |
commit | 8b9a704695bbf4e4002a999febb1f2580b04d9ee (patch) | |
tree | bfa8688431060b588cc793e5835bb7f0d8b878ee | |
parent | 5f46a108a2c539a8804453936f0e0f7d6572f103 (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.c | 2 |
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 |