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 --- draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'draw.c') diff --git a/draw.c b/draw.c index 506a862..dffb490 100644 --- a/draw.c +++ b/draw.c @@ -114,7 +114,7 @@ drawstatus() drawtext(NULL, !istile, False); dc.w = 0; - for(i = 0; i < TLast; i++) { + for(i = 0; i < ntags; i++) { dc.x += dc.w; dc.w = textw(tags[i]); if(istile) @@ -153,7 +153,7 @@ drawtitle(Client *c) dc.x = dc.y = 0; dc.w = 0; - for(i = 0; i < TLast; i++) { + for(i = 0; i < ntags; i++) { if(c->tags[i]) { dc.x += dc.w; dc.w = textw(tags[i]); -- cgit v1.2.3