Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removing NULL-terminating **tags definition in config.h
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
6a21d3f
..
c9495ec
100644
(file)
--- 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;