summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 33a2a9a..9ea09bf 100644
--- a/main.c
+++ b/main.c
@@ -85,6 +85,7 @@ xerrorstart(Display *dsply, XErrorEvent *ee)
85char stext[1024]; 85char stext[1024];
86int tsel = DEFTAG; 86int tsel = DEFTAG;
87int screen, sx, sy, sw, sh, bx, by, bw, bh, mw; 87int screen, sx, sy, sw, sh, bx, by, bw, bh, mw;
88unsigned int ntags;
88Atom wmatom[WMLast], netatom[NetLast]; 89Atom wmatom[WMLast], netatom[NetLast];
89Bool running = True; 90Bool running = True;
90Bool issel = True; 91Bool issel = True;
@@ -210,6 +211,8 @@ main(int argc, char *argv[])
210 211
211 grabkeys(); 212 grabkeys();
212 213
214 for(ntags = 0; tags[ntags]; ntags++);
215
213 /* style */ 216 /* style */
214 dc.bg = getcolor(BGCOLOR); 217 dc.bg = getcolor(BGCOLOR);
215 dc.fg = getcolor(FGCOLOR); 218 dc.fg = getcolor(FGCOLOR);