]> git.armaanb.net Git - dwm.git/commitdiff
applied Sander's patch as well
authorAnselm R.Garbe <arg@10ksloc.org>
Fri, 11 Aug 2006 08:05:53 +0000 (10:05 +0200)
committerAnselm R.Garbe <arg@10ksloc.org>
Fri, 11 Aug 2006 08:05:53 +0000 (10:05 +0200)
client.c

index 80042720c2572b822484c77c0f153c18e5959f06..971098918efa6e23d74f411f4b3af79b674db6cd 100644 (file)
--- 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;