author | Anselm R. Garbe <arg@suckless.org> |
Thu, 22 Feb 2007 12:16:58 +0100 | |
changeset 827 | 834476ae0f52 |
parent 826 | d900a3f821a3 |
child 828 | 4cb4940d8355 |
--- a/tag.c Thu Feb 22 12:15:48 2007 +0100 +++ b/tag.c Thu Feb 22 12:16:58 2007 +0100 @@ -108,7 +108,7 @@ if(!sel) return; for(i = 0; i < ntags; i++) - sel->tags[i] = arg != NULL; + sel->tags[i] = arg == NULL; i = arg ? atoi(arg) : 0; if(i >= 0 && i < ntags) sel->tags[i] = True; @@ -146,7 +146,7 @@ int i; for(i = 0; i < ntags; i++) - seltag[i] = arg != NULL; + seltag[i] = arg == NULL; i = arg ? atoi(arg) : 0; if(i >= 0 && i < ntags) seltag[i] = True;