removing NULL-terminating **tags definition in config.h
这个提交存在于:
父节点
7e25897f11
当前提交
883e09b2eb
共有 2 个文件被更改,包括 2 次插入 和 2 次删除
|
@ -12,7 +12,7 @@
|
|||
#define SELFGCOLOR "#ffffff"
|
||||
|
||||
/* tagging */
|
||||
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www", NULL };
|
||||
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" };
|
||||
Rule rules[] = {
|
||||
/* class:instance:title regex tags regex isfloating */
|
||||
{ "Firefox", "www", False },
|
||||
|
|
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;
|
||||
|
||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用