Tag: Fix: if delete last tag, then none tag selected.

This commit is contained in:
OldMan 2010-04-23 12:56:02 +06:00
parent 07db3fafbd
commit d24e5e911f

View File

@ -464,7 +464,7 @@ tag_delete(int s, int tag)
infobar_draw(s);
if(tag == seltag[s])
tag_set(tag);
tag_set(tag <= conf.ntag[s] ? tag : conf.ntag[s]);
return;
}