Mercurial > aewl
diff tag.c @ 573:797e27162b43
fififif
author | arg@mig29 |
---|---|
date | Wed, 22 Nov 2006 16:17:50 +0100 |
parents | a5567a0d3011 |
children | 601842ee4484 |
line wrap: on
line diff
--- 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(); }