tag.c
changeset 573 797e27162b43
parent 533 a5567a0d3011
child 581 601842ee4484
--- a/tag.c	Wed Nov 22 14:57:09 2006 +0100
+++ b/tag.c	Wed Nov 22 16:17:50 2006 +0100
@@ -104,7 +104,6 @@
 	if(!matched)
 		for(i = 0; i < ntags; i++)
 			c->tags[i] = seltag[i];
-	for(c->weight = 0; c->weight < ntags && !c->tags[c->weight]; c->weight++);
 }
 
 void
@@ -116,7 +115,6 @@
 	for(i = 0; i < ntags; i++)
 		sel->tags[i] = False;
 	sel->tags[arg->i] = True;
-	sel->weight = arg->i;
 	arrange();
 }
 
@@ -130,6 +128,5 @@
 	for(i = 0; i < ntags && !sel->tags[i]; i++);
 	if(i == ntags)
 		sel->tags[arg->i] = True;
-	sel->weight = (i == ntags) ? arg->i : i;
 	arrange();
 }