aboutsummaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag.c b/tag.c
index 448ed2a..9022371 100644
--- a/tag.c
+++ b/tag.c
@@ -169,9 +169,8 @@ settags(Client *c)
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;
}