Explorar el Código

removed the if(clients) check from popping code

Anselm R.Garbe hace 19 años
padre
commit
735ca9ccd6
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      client.c

+ 1 - 2
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);