Fix tmp var in tag elem init

This commit is contained in:
Martin Duquesnoy 2011-08-29 18:53:50 +02:00
parent 80d175465d
commit 1a2e85763b

View File

@ -60,7 +60,7 @@ infobar_elem_tag_init(Element *e)
s = draw_textw(t->name) + PAD;
/* Init barwin */
b = barwin_new(e->infobar->bar->win, s, 0, tmp, e->geo.h, 0x009900, 0x777777, false);
b = barwin_new(e->infobar->bar->win, j, 0, s, e->geo.h, 0x009900, 0x777777, false);
b->ptr = (void*)t;
barwin_map(b);