From b35575574be53a1b3be42d7037d2f432a19a3890 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Thu, 3 Aug 2006 12:12:26 +0200 Subject: removed TLast tag enum, now tags is simple defined as char *[] array, the rest is calculated correctly, rules take an int array for the tags --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'event.c') diff --git a/event.c b/event.c index 0c159c7..88e1b10 100644 --- a/event.c +++ b/event.c @@ -105,7 +105,7 @@ buttonpress(XEvent *e) switch(ev->button) { default: x = 0; - for(a.i = 0; a.i < TLast; a.i++) { + for(a.i = 0; a.i < ntags; a.i++) { x += textw(tags[a.i]); if(ev->x < x) { view(&a); -- cgit v1.2.3-13-gbd6f