diff tag.c @ 142:9b9deafa0508

committed a patch which fixes the hints of Jukka
author arg@10ksloc.org
date Tue, 01 Aug 2006 11:49:19 +0200
parents c1185dc7a36e
children 36cabfe408cd
line wrap: on
line diff
--- a/tag.c	Fri Jul 21 21:15:39 2006 +0200
+++ b/tag.c	Tue Aug 01 11:49:19 2006 +0200
@@ -63,7 +63,7 @@
 			ban(c);
 	}
 	if(sel && !sel->tags[tsel]) {
-		if((sel = getnext(clients, tsel))) {
+		if((sel = getnext(clients))) {
 			higher(sel);
 			focus(sel);
 		}
@@ -126,7 +126,7 @@
 			ban(c);
 	}
 	if(!sel || (sel && !sel->tags[tsel])) {
-		if((sel = getnext(clients, tsel))) {
+		if((sel = getnext(clients))) {
 			higher(sel);
 			focus(sel);
 		}
@@ -135,9 +135,9 @@
 }
 
 Client *
-getnext(Client *c, unsigned int t)
+getnext(Client *c)
 {
-	for(; c && !c->tags[t]; c = c->next);
+	for(; c && !c->tags[tsel]; c = c->next);
 	return c;
 }