Fix segfault when using client_ignore_tag. bug #72 reported by myself

This commit is contained in:
Raphael Khaiat 2010-06-27 00:47:36 +02:00
parent 253d50762b
commit e71f85ff26

View File

@ -221,8 +221,8 @@ void
infobar_draw_taglist(int sc)
{
int i, x, j;
Client *c;
Bool is_occupied[MAXTAG];
Client *c = NULL;
Bool is_occupied[MAXTAG + 1];
if(conf.layout_placement)
barwin_move(infobar[sc].tags_board, textw(tags[sc][seltag[sc]].layout.symbol) + PAD * 1.5, 0);