aewl
diff config.arg.h @ 173:1db04019684e
changed Client->tags and Rule->tags to be Bool (I'll also try to remove the TLast enum)
author | arg@10ksloc.org |
---|---|
date | Thu, 03 Aug 2006 10:55:07 +0200 |
parents | dac0793bf3f7 |
children | e848966a1ac6 |
line diff
1.1 --- a/config.arg.h Wed Aug 02 17:49:21 2006 +0200 1.2 +++ b/config.arg.h Thu Aug 03 10:55:07 2006 +0200 1.3 @@ -5,7 +5,7 @@ 1.4 1.5 enum { Tfnord, Tdev, Tnet, Twork, Tmisc, TLast }; 1.6 #define TAGS \ 1.7 -char *tags[TLast] = { \ 1.8 +const char *tags[TLast] = { \ 1.9 [Tfnord] = "fnord", \ 1.10 [Tdev] = "dev", \ 1.11 [Tnet] = "net", \ 1.12 @@ -66,7 +66,7 @@ 1.13 #define RULES \ 1.14 static Rule rule[] = { \ 1.15 /* class:instance tags isfloat */ \ 1.16 - { "Firefox.*", { [Tnet] = "net" }, False }, \ 1.17 + { "Firefox.*", { [Tnet] = True }, False }, \ 1.18 { "Gimp.*", { 0 }, True}, \ 1.19 { "MPlayer.*", { 0 }, True}, \ 1.20 { "Acroread.*", { 0 }, True}, \