draw.c
changeset 261 d6fd632d861c
parent 257 32dc3acfffc0
child 262 d659a2dce2b5
--- a/draw.c	Fri Aug 11 18:11:39 2006 +0200
+++ b/draw.c	Fri Aug 11 18:37:41 2006 +0200
@@ -109,9 +109,9 @@
 		dc.x += dc.w;
 		dc.w = textw(tags[i]);
 		if(istile)
-			drawtext(tags[i], (i == tsel));
+			drawtext(tags[i], tsel[i]);
 		else
-			drawtext(tags[i], (i != tsel));
+			drawtext(tags[i], !tsel[i]);
 	}
 	x = dc.x + dc.w;
 	dc.w = textw(stext);