diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 12:16:58 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 12:16:58 +0100 |
| commit | 89b7f1503e147dbd9260ecd379ca3e31ddfed6ea (patch) | |
| tree | e5b19077273d371b80b041e6ff6d92429c27d97b | |
| parent | small bugfix (diff) | |
| download | dwm-89b7f1503e147dbd9260ecd379ca3e31ddfed6ea.tar.gz dwm-89b7f1503e147dbd9260ecd379ca3e31ddfed6ea.zip | |
oops
Diffstat (limited to '')
| -rw-r--r-- | tag.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -108,7 +108,7 @@ tag(const char *arg) { | |||
| 108 | if(!sel) | 108 | if(!sel) |
| 109 | return; | 109 | return; |
| 110 | for(i = 0; i < ntags; i++) | 110 | for(i = 0; i < ntags; i++) |
| 111 | sel->tags[i] = arg != NULL; | 111 | sel->tags[i] = arg == NULL; |
| 112 | i = arg ? atoi(arg) : 0; | 112 | i = arg ? atoi(arg) : 0; |
| 113 | if(i >= 0 && i < ntags) | 113 | if(i >= 0 && i < ntags) |
| 114 | sel->tags[i] = True; | 114 | sel->tags[i] = True; |
| @@ -146,7 +146,7 @@ view(const char *arg) { | |||
| 146 | int i; | 146 | int i; |
| 147 | 147 | ||
| 148 | for(i = 0; i < ntags; i++) | 148 | for(i = 0; i < ntags; i++) |
| 149 | seltag[i] = arg != NULL; | 149 | seltag[i] = arg == NULL; |
| 150 | i = arg ? atoi(arg) : 0; | 150 | i = arg ? atoi(arg) : 0; |
| 151 | if(i >= 0 && i < ntags) | 151 | if(i >= 0 && i < ntags) |
| 152 | seltag[i] = True; | 152 | seltag[i] = True; |
