summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;