use tag id from 0 with uicb_tag_set

This commit is contained in:
Martin Duquesnoy
2011-12-18 15:08:44 +01:00
parent 06219d60ec
commit 03b289b017
2 changed files with 4 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ uicb_tag_set(Uicb cmd)
struct tag *t;
TAILQ_FOREACH(t, &W->screen->tags, next)
if(++i == n && t != W->screen->seltag)
if(i++ == n && t != W->screen->seltag)
{
tag_screen(W->screen, t);
return;