diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-10-05 18:30:01 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-10-05 18:30:01 +0200 |
commit | 883e09b2eb8b6a42289bc5a64294df4122d90e38 (patch) | |
tree | f3bfcd302e21a80c0b77e7e941031bb497f00656 /dwm.c | |
parent | 7e25897f1108b1b24b3a1d4ebe69cfa6de1d08f0 (diff) | |
download | dwm-883e09b2eb8b6a42289bc5a64294df4122d90e38.tar.gz |
removing NULL-terminating **tags definition in config.h
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 2 |
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) { /* init tags */ compileregs(); - for(ntags = 0; tags[ntags]; ntags++); + ntags = sizeof tags / sizeof tags[0]; seltags = emallocz(sizeof(Bool) * ntags); seltags[0] = True; |