From e11c652985a4e684164e30aa5841f0801f4e95f0 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 31 May 2010 21:32:57 +0000 Subject: Fixed my breaking of Ingo's eoln-whitespace detection code, where a hyphen wasn't resetting the fact of being whitespace. Noted by Jason McIntyre. --- mdoc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mdoc.c') 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) -- cgit