bug fix: wrong tag tested

This commit is contained in:
Julien Danjou 2008-01-03 12:14:24 +01:00
parent b6edff229c
commit ababc289d7
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ focus_get_latest_client_for_tags(Tag **t, int nindex)
for(fl = globalconf.focus; fl; fl = fl->prev) for(fl = globalconf.focus; fl; fl = fl->prev)
if(fl->client && !fl->client->skip) if(fl->client && !fl->client->skip)
for(tags = t; *tags; tags++) for(tags = t; *tags; tags++)
if(is_client_tagged(fl->client, *t)) if(is_client_tagged(fl->client, *tags))
{ {
if(i == nindex) if(i == nindex)
return fl->client; return fl->client;