summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc.c b/mdoc.c
index d23aea6a..3a3f5b4c 100644
--- a/mdoc.c
+++ b/mdoc.c
@@ -595,6 +595,7 @@ mdoc_ptext(struct mdoc *m, int line, char *buf, int offs)
case '-':
if (mandoc_hyph(buf + offs, c))
*c = ASCII_HYPH;
+ ws = NULL;
break;
case ' ':
if (NULL == ws)