aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 13:18:42 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-11 13:18:42 +0000
commit6740b5259761c5b9863d14444ec9fd80f27ba672 (patch)
tree07d4632b86c0b04882e808db5dbd4fe9c4e2cf5a
parentaebcff7a4d042268ddc273f3fd273b24623a5b14 (diff)
downloadmandoc-6740b5259761c5b9863d14444ec9fd80f27ba672.tar.gz
mandoc-6740b5259761c5b9863d14444ec9fd80f27ba672.tar.zst
mandoc-6740b5259761c5b9863d14444ec9fd80f27ba672.zip
Backed-out .IP changes for libman (needs work).
-rw-r--r--man_term.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/man_term.c b/man_term.c
index 786f1b4b..740ddaf7 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.11 2009/06/11 12:07:49 kristaps Exp $ */
+/* $Id: man_term.c,v 1.12 2009/06/11 13:18:42 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -273,12 +273,15 @@ pre_PP(DECL_ARGS)
static int
pre_IP(DECL_ARGS)
{
+#if 0
const struct man_node *nn;
size_t offs;
+#endif
term_vspace(p);
p->offset = INDENT;
+#if 0
if (NULL == (nn = n->child))
return(1);
if (MAN_TEXT != nn->type)
@@ -295,6 +298,8 @@ pre_IP(DECL_ARGS)
/* FIXME */
if ((p->offset += offs) > p->rmargin)
errx(1, "line too long");
+#endif
+
return(0);
}