break on detach or for() will fail to assign ->next

This commit is contained in:
Julien Danjou 2008-01-04 17:08:30 +01:00
parent 36e9e07f84
commit 8978f0837e
1 changed files with 3 additions and 0 deletions

3
tag.c
View File

@ -77,7 +77,10 @@ untag_client(Client *c, Tag *t)
for(tc = globalconf.tclink; tc; tc = tc->next)
if(tc->client == c && tc->tag == t)
{
detach_tagclientlink(tc);
break;
}
}
Bool