thotfix of settags - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 666b4563a0064dd7aa27159813124837d306f81c
 (DIR) parent 7315bb08ad45e163dbf110b92f8f9f5d392d96e2
 (HTM) Author: arg@10ksloc.org <unknown>
       Date:   Thu,  3 Aug 2006 11:38:26 +0200
       
       hotfix of settags
       
       Diffstat:
         M tag.c                               |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
 (DIR) diff --git a/tag.c b/tag.c
       t@@ -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;
                                        }