From e71f85ff26a2c137753b34113d3f5f18037c00e5 Mon Sep 17 00:00:00 2001 From: Raphael Khaiat Date: Sun, 27 Jun 2010 00:47:36 +0200 Subject: [PATCH] Fix segfault when using client_ignore_tag. bug #72 reported by myself --- src/infobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/infobar.c b/src/infobar.c index b3e6ee8..8cd45d5 100644 --- a/src/infobar.c +++ b/src/infobar.c @@ -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);