[PATCH libxkbui] Fix an obvious typo: '&&' -> '&'.

Alan Coopersmith alan.coopersmith at oracle.com
Wed Sep 7 07:56:26 PDT 2011


On 09/07/11 07:48, Egbert Eich wrote:
> From: Stefan Dirsch<sndirsch at suse.de>
>
> Found by Marcus Meissner<meissner at suse.de>
>
> Signed-off-by: Egbert Eich<eich at freedesktop.org>
> ---
>   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 <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list