about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-11 10:05:53 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-11 10:05:53 +0200
commit895902b57adbfe26f982a3eb4e2ee8f3aa4dd408 (patch)
treed2a2790e936ad7f56e4987e97e443a954e5b31b6
parent7d4184dc5c5381d638efb9f26fd8bd6d8a6fe372 (diff)
downloaddwm-895902b57adbfe26f982a3eb4e2ee8f3aa4dd408.tar.gz
applied Sander's patch as well
-rw-r--r--client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.c b/client.c
index 8004272..9710989 100644
--- a/client.c
+++ b/client.c
@@ -467,8 +467,7 @@ zoom(Arg *arg)
 	}
 
 	/* pop */
-	if(sel->prev)
-		sel->prev->next = sel->next;
+	sel->prev->next = sel->next;
 	if(sel->next)
 		sel->next->prev = sel->prev;
 	sel->prev = NULL;