summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-10-05 18:30:01 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-10-05 18:30:01 +0200
commit883e09b2eb8b6a42289bc5a64294df4122d90e38 (patch)
treef3bfcd302e21a80c0b77e7e941031bb497f00656 /dwm.c
parentremoved two spaces reported by Soleen (diff)
downloaddwm-883e09b2eb8b6a42289bc5a64294df4122d90e38.tar.gz
dwm-883e09b2eb8b6a42289bc5a64294df4122d90e38.zip
removing NULL-terminating **tags definition in config.h
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 6a21d3f..c9495ec 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1467,7 +1467,7 @@ setup(void) {
1467 1467
1468 /* init tags */ 1468 /* init tags */
1469 compileregs(); 1469 compileregs();
1470 for(ntags = 0; tags[ntags]; ntags++); 1470 ntags = sizeof tags / sizeof tags[0];
1471 seltags = emallocz(sizeof(Bool) * ntags); 1471 seltags = emallocz(sizeof(Bool) * ntags);
1472 seltags[0] = True; 1472 seltags[0] = True;
1473 1473