summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 10:40:04 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 10:40:04 +0000
commit947f73805b11d9580b0ab9b7cbca918f44567314 (patch)
tree9a5c935e5df1ea69f84af6db618245fd0a9af526
parent65dc168510767708e266ed70c10c9e2a646424fa (diff)
downloadmandoc-947f73805b11d9580b0ab9b7cbca918f44567314.tar.gz
mandoc-947f73805b11d9580b0ab9b7cbca918f44567314.tar.zst
mandoc-947f73805b11d9580b0ab9b7cbca918f44567314.zip
Reverted max column width 80 -> 78 (schwarze@openbsd.org).
-rw-r--r--man_validate.c3
-rw-r--r--term.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/man_validate.c b/man_validate.c
index 6cf7db01..7c06e47d 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -1,4 +1,4 @@
-/* $Id: man_validate.c,v 1.12 2009/06/18 10:53:58 kristaps Exp $ */
+/* $Id: man_validate.c,v 1.13 2009/06/22 10:40:04 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -85,6 +85,7 @@ man_valid_post(struct man *m)
case (MAN_TEXT):
return(check_text(m, m->last));
case (MAN_ROOT):
+ /* FIXME: validate that TH has been invoked! */
return(1);
default:
break;
diff --git a/term.c b/term.c
index 935b29e3..3b7fb4c0 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.79 2009/06/17 18:42:42 kristaps Exp $ */
+/* $Id: term.c,v 1.80 2009/06/22 10:40:04 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -105,7 +105,7 @@ term_alloc(enum termenc enc)
if (NULL == (p = malloc(sizeof(struct termp))))
err(1, "malloc");
bzero(p, sizeof(struct termp));
- p->maxrmargin = 80;
+ p->maxrmargin = 78;
p->enc = enc;
return(p);
}