summaryrefslogtreecommitdiffstatshomepage
path: root/term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 06:32:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-12 06:32:17 +0000
commit8b8c158fd8de44ca79949d5f916da9eb54a0566a (patch)
tree2b6cb5fa29beab27a3bc27e2515dd811d6638735 /term.c
parent79712733ab4bcabb671c2ec700a2dc90c6d460d4 (diff)
downloadmandoc-8b8c158fd8de44ca79949d5f916da9eb54a0566a.tar.gz
mandoc-8b8c158fd8de44ca79949d5f916da9eb54a0566a.tar.zst
mandoc-8b8c158fd8de44ca79949d5f916da9eb54a0566a.zip
Removed segfault with empty word.
Initial "full" -column support.
Diffstat (limited to 'term.c')
-rw-r--r--term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.c b/term.c
index 8aa8b916..8f10d0d3 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.54 2009/03/12 02:57:36 kristaps Exp $ */
+/* $Id: term.c,v 1.55 2009/03/12 06:32:17 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -531,7 +531,7 @@ termp_it_pre(DECL_ARGS)
case (MDOC_Enum):
/* FALLTHROUGH */
case (MDOC_Hyphen):
- if (width > 4)
+ if (width < 4)
width = 4;
break;
case (MDOC_Tag):