hotfix of settags 666b4563
arg@10ksloc.org · 2006-08-03 11:38 1 file(s) · +1 −2
tag.c +1 −2
169 169
			if(!regcomp(&regex, rule[i].pattern, 0)) {
170 170
				if(!regexec(&regex, classinst, 1, &tmp, 0)) {
171 171
					for(j = 0; j < TLast; j++) {
172 -
						if(rule[i].tags[j])
172 +
						if((c->tags[j] = rule[i].tags[j]))
173 173
							matched = True;
174 -
						c->tags[j] = True;
175 174
					}
176 175
					c->isfloat = rule[i].isfloat;
177 176
				}