aewl

changeset 250:a9392d33865a

removed the if(clients) check from popping code
author Anselm R.Garbe <arg@10ksloc.org>
date Fri, 11 Aug 2006 08:34:42 +0200
parents 5d7b7ff7a289
children 5c72602fe587
files client.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/client.c	Thu Aug 10 18:44:19 2006 +0200
     1.2 +++ b/client.c	Fri Aug 11 08:34:42 2006 +0200
     1.3 @@ -477,8 +477,7 @@
     1.4  	if(sel->next)
     1.5  		sel->next->prev = sel->prev;
     1.6  	sel->prev = NULL;
     1.7 -	if(clients)
     1.8 -		clients->prev = sel;
     1.9 +	clients->prev = sel;
    1.10  	sel->next = clients;
    1.11  	clients = sel;
    1.12  	arrange(NULL);