tag.c
changeset 177 e890cee887d1
parent 173 1db04019684e
child 178 e848966a1ac6
--- 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(&regex, rule[i].pattern, 0)) {
 				if(!regexec(&regex, 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;
 				}