tremoving NULL-terminating **tags definition in config.h - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 883e09b2eb8b6a42289bc5a64294df4122d90e38
 (DIR) parent 7e25897f1108b1b24b3a1d4ebe69cfa6de1d08f0
 (HTM) Author: Anselm R. Garbe <garbeam@gmail.com>
       Date:   Fri,  5 Oct 2007 18:30:01 +0200
       
       removing NULL-terminating **tags definition in config.h
       Diffstat:
         M config.def.h                        |       2 +-
         M dwm.c                               |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/config.def.h b/config.def.h
       t@@ -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 },
 (DIR) diff --git a/dwm.c b/dwm.c
       t@@ -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;