about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authora@null <unknown>2009-02-14 11:21:24 +0000
committera@null <unknown>2009-02-14 11:21:24 +0000
commit1a26389e2bb90150786b20f7706091e3b5620b59 (patch)
tree412f3722c5feca8f5fbf84d7c3a4b6d183e85f3e
parentbf9da23f07249cfe8f5a5a5c4256d919b353b10c (diff)
downloaddwm-1a26389e2bb90150786b20f7706091e3b5620b59.tar.gz
applied nsz' remark
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index cfe1e7b..ef723cc 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1463,7 +1463,7 @@ toggletag(const Arg *arg) {
 		return;
 	
 	mask = sel->tags ^ (arg->ui & TAGMASK);
-	if(sel && mask) {
+	if(mask) {
 		sel->tags = mask;
 		arrange();
 	}