This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dwm
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
removing NULL-terminating **tags definition in config.h
master
Anselm R. Garbe
18 years ago
parent
7e25897f11
commit
883e09b2eb
2 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
config.def.h
+1
-1
dwm.c
+ 1
- 1
config.def.h
View File
@ -12,7 +12,7 @@
#
define SELFGCOLOR "#ffffff"
#
define SELFGCOLOR "#ffffff"
/* tagging */
/* 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
[
]
=
{
Rule
rules
[
]
=
{
/* class:instance:title regex tags regex isfloating */
/* class:instance:title regex tags regex isfloating */
{
"
Firefox
"
,
"
www
"
,
False
}
,
{
"
Firefox
"
,
"
www
"
,
False
}
,
+ 1
- 1
dwm.c
View File
@ -1467,7 +1467,7 @@ setup(void) {
/* init tags */
/* init tags */
compileregs
(
)
;
compileregs
(
)
;
for
(
ntags
=
0
;
tags
[
ntags
]
;
ntags
+
+
)
;
ntags
=
sizeof
tags
/
sizeof
tags
[
0
]
;
seltags
=
emallocz
(
sizeof
(
Bool
)
*
ntags
)
;
seltags
=
emallocz
(
sizeof
(
Bool
)
*
ntags
)
;
seltags
[
0
]
=
True
;
seltags
[
0
]
=
True
;
Write
Preview
|
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save