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 | |
| parent | removed two spaces reported by Soleen (diff) | |
| download | dwm-883e09b2eb8b6a42289bc5a64294df4122d90e38.tar.gz dwm-883e09b2eb8b6a42289bc5a64294df4122d90e38.zip | |
removing NULL-terminating **tags definition in config.h
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 2 | ||||
| -rw-r--r-- | dwm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index f7822d2..5a18854 100644 --- a/config.def.h +++ b/config.def.h | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | #define SELFGCOLOR "#ffffff" | 12 | #define SELFGCOLOR "#ffffff" |
| 13 | 13 | ||
| 14 | /* tagging */ | 14 | /* tagging */ |
| 15 | const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www", NULL }; | 15 | const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; |
| 16 | Rule rules[] = { | 16 | Rule rules[] = { |
| 17 | /* class:instance:title regex tags regex isfloating */ | 17 | /* class:instance:title regex tags regex isfloating */ |
| 18 | { "Firefox", "www", False }, | 18 | { "Firefox", "www", False }, |
| @@ -1467,7 +1467,7 @@ setup(void) { | |||
| 1467 | 1467 | ||
| 1468 | /* init tags */ | 1468 | /* init tags */ |
| 1469 | compileregs(); | 1469 | compileregs(); |
| 1470 | for(ntags = 0; tags[ntags]; ntags++); | 1470 | ntags = sizeof tags / sizeof tags[0]; |
| 1471 | seltags = emallocz(sizeof(Bool) * ntags); | 1471 | seltags = emallocz(sizeof(Bool) * ntags); |
| 1472 | seltags[0] = True; | 1472 | seltags[0] = True; |
| 1473 | 1473 | ||
