Mercurial > aewl
changeset 177:e890cee887d1
hotfix of settags
author | arg@10ksloc.org |
---|---|
date | Thu, 03 Aug 2006 11:38:26 +0200 (2006-08-03) |
parents | d1724b29acbf |
children | e848966a1ac6 |
files | tag.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tag.c Thu Aug 03 11:27:29 2006 +0200 +++ b/tag.c Thu Aug 03 11:38:26 2006 +0200 @@ -169,9 +169,8 @@ if(!regcomp(®ex, rule[i].pattern, 0)) { if(!regexec(®ex, classinst, 1, &tmp, 0)) { for(j = 0; j < TLast; j++) { - if(rule[i].tags[j]) + if((c->tags[j] = rule[i].tags[j])) matched = True; - c->tags[j] = True; } c->isfloat = rule[i].isfloat; }