hotfix of settags
arg@10ksloc.org unknown
Thu, 03 Aug 2006 11:38:26 +0200
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
tag.c
→
tag.c
@@ -169,9 +169,8 @@ for(i = 0; !matched && i < len; i++) {
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; }