JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed the if(clients) check from popping code
authorAnselm R.Garbe <arg@10ksloc.org>
Fri, 11 Aug 2006 06:34:42 +0000 (08:34 +0200)
committerAnselm R.Garbe <arg@10ksloc.org>
Fri, 11 Aug 2006 06:34:42 +0000 (08:34 +0200)
client.c

index 8ec8ffb..57ea617 100644 (file)
--- a/client.c
+++ b/client.c
@@ -477,8 +477,7 @@ zoom(Arg *arg)
        if(sel->next)
                sel->next->prev = sel->prev;
        sel->prev = NULL;
-       if(clients)
-               clients->prev = sel;
+       clients->prev = sel;
        sel->next = clients;
        clients = sel;
        arrange(NULL);