removing NULL-terminating **tags definition in config.h
This commit is contained in:
parent
7e25897f11
commit
883e09b2eb
2 changed files with 2 additions and 2 deletions
2
dwm.c
2
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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue