about summary refs log tree commit diff stats
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
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]);
tter Anselm R Garbe <garbeam@gmail.com> 2008-02-22 15:26:27 +0000 added Gottox to Copyright holders after all his contributions, applied his last patch' href='/acidbong/suckless/dwm/commit/LICENSE?h=5.7.2&id=c43d7b7587c9639a303b02ff7a44bf18a54f06cb'>c43d7b7 ^
fd01413 ^
1076f2b

















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27