xorg-x11-libs/libxkbui.diff

12 lines
421 B
Diff

--- src/XKBui.c.orig 2006-11-10 14:56:45.000000000 +0100
+++ src/XKBui.c 2006-11-10 14:57:00.000000000 +0100
@@ -104,7 +104,7 @@
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