changeset: 827:834476ae0f52
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Thu Feb 22 12:16:58 2007 +0100
summary: oops
diff -r d900a3f821a3 -r 834476ae0f52 tag.c
--- 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 @@ tag(const char *arg) {
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 @@ view(const char *arg) {
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;
Received on Thu Feb 22 2007 - 12:19:54 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:43 UTC