changeset 326:73efaa15a635

removed DEFTAG
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 22 Aug 2006 16:42:29 +0200
parents 58c09c533d3f
children 96d09fd98e89
files config.arg.h config.default.h main.c
diffstat 3 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/config.arg.h	Tue Aug 22 16:06:11 2006 +0200
+++ b/config.arg.h	Tue Aug 22 16:42:29 2006 +0200
@@ -7,7 +7,6 @@
 const char *tags[] = { "work", "net", "fnord", NULL };
 
 #define DEFMODE			dotile /* dofloat */
-#define DEFTAG			0 /* index */
 #define TFONT			"-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
 #define FONT			"-*-snap-*-*-*-*-*-*-*-*-*-*-*-*"
 #define BGCOLOR			"#0d121d"
--- a/config.default.h	Tue Aug 22 16:06:11 2006 +0200
+++ b/config.default.h	Tue Aug 22 16:42:29 2006 +0200
@@ -4,10 +4,9 @@
  */
 
 #define TAGS \
-const char *tags[] = { "0", "1", "2", "3", "4", NULL };
+const char *tags[] = { "1", "2", "3", "4", "0", NULL };
 
 #define DEFMODE			dotile /* dofloat */
-#define DEFTAG			1 /* index */
 #define FONT			"fixed"
 #define BGCOLOR			"#666699"
 #define FGCOLOR			"#eeeeee"
--- a/main.c	Tue Aug 22 16:06:11 2006 +0200
+++ b/main.c	Tue Aug 22 16:42:29 2006 +0200
@@ -241,7 +241,7 @@
 
 	for(ntags = 0; tags[ntags]; ntags++);
 	seltag = emallocz(sizeof(Bool) * ntags);
-	seltag[DEFTAG] = True;
+	seltag[0] = True;
 
 	/* style */
 	dc.bg = getcolor(BGCOLOR);