dwm-meillo

changeset 177:e890cee887d1

hotfix of settags
author arg@10ksloc.org
date Thu, 03 Aug 2006 11:38:26 +0200
parents d1724b29acbf
children e848966a1ac6
files tag.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/tag.c	Thu Aug 03 11:27:29 2006 +0200
     1.2 +++ b/tag.c	Thu Aug 03 11:38:26 2006 +0200
     1.3 @@ -169,9 +169,8 @@
     1.4  			if(!regcomp(&regex, rule[i].pattern, 0)) {
     1.5  				if(!regexec(&regex, classinst, 1, &tmp, 0)) {
     1.6  					for(j = 0; j < TLast; j++) {
     1.7 -						if(rule[i].tags[j])
     1.8 +						if((c->tags[j] = rule[i].tags[j]))
     1.9  							matched = True;
    1.10 -						c->tags[j] = True;
    1.11  					}
    1.12  					c->isfloat = rule[i].isfloat;
    1.13  				}