Explorar o código

applied Sander's patch as well

Anselm R.Garbe %!s(int64=19) %!d(string=hai) anos
pai
achega
895902b57a
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      client.c

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