diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-08-22 18:10:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-08-22 18:10:03 +0000 |
commit | 8ffdc260c4d5a97f7a4376ba47f44db290aa9479 (patch) | |
tree | 14c9b7b501d03fd3c83cbdab10b017dc36e5e36c | |
parent | f6c9c970650c78f3777d8d6b7a7effdf37147aeb (diff) |
sync to 1.9.0: move indentation size into *term.c files,
improving -man indentation
-rw-r--r-- | usr.bin/mandoc/man_term.c | 5 | ||||
-rw-r--r-- | usr.bin/mandoc/mdoc_term.c | 5 | ||||
-rw-r--r-- | usr.bin/mandoc/term.h | 7 |
3 files changed, 9 insertions, 8 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index d8e03a60c34..83bd34269e8 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.9 2009/08/22 15:15:37 schwarze Exp $ */ +/* $Id: man_term.c,v 1.10 2009/08/22 18:10:02 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -23,6 +23,9 @@ #include "term.h" #include "man.h" +#define INDENT 7 +#define HALFINDENT 3 + #define DECL_ARGS struct termp *p, \ const struct man_node *n, \ const struct man_meta *m diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c index 9958ce8bdbf..ffb6fe6fd52 100644 --- a/usr.bin/mandoc/mdoc_term.c +++ b/usr.bin/mandoc/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.50 2009/08/22 15:36:58 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.51 2009/08/22 18:10:02 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -26,6 +26,9 @@ #include "term.h" #include "mdoc.h" +#define INDENT 5 +#define HALFINDENT 3 + /* FIXME: macro arguments can be escaped. */ #define TTYPE_PROG 0 diff --git a/usr.bin/mandoc/term.h b/usr.bin/mandoc/term.h index 3b8d7c3947e..d6259ec53a4 100644 --- a/usr.bin/mandoc/term.h +++ b/usr.bin/mandoc/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.8 2009/08/22 17:04:48 schwarze Exp $ */ +/* $Id: term.h,v 1.9 2009/08/22 18:10:02 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -17,11 +17,6 @@ #ifndef TERM_H #define TERM_H -/* FIXME - clean up tabs. */ - -#define INDENT 5 -#define HALFINDENT 3 - __BEGIN_DECLS enum termenc { |