JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Sander's patch as well
[dwm.git] / client.c
index 8004272..9710989 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;