From 838a1ff950eb42e4137cfd7039a0e78227b2ef70 Mon Sep 17 00:00:00 2001
From: "Anselm R. Garbe" <arg@10kloc.org>
Date: Tue, 5 Sep 2006 18:43:15 +0200
Subject: fix

---
 view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'view.c')

diff --git a/view.c b/view.c
index b76b47e..561d4ef 100644
--- a/view.c
+++ b/view.c
@@ -318,7 +318,7 @@ zoom(Arg *arg)
 		return;
 
 	/* this is somewhat tricky, it asserts to only zoom tiled clients */
-	for(c = clients; c && c->isfloat; c = getnext(c->next));
+	for(c = getnext(clients); c && c->isfloat; c = getnext(c->next));
 	if(c) {
 		if(c == sel)
 			for(c = getnext(c->next); c && c->isfloat; c = getnext(c->next));
-- 
cgit v1.2.3