diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-31 21:32:57 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-31 21:32:57 +0000 |
commit | e11c652985a4e684164e30aa5841f0801f4e95f0 (patch) | |
tree | 0990c41c0d0f58e68c290e3f2dd8c915124ba7b2 | |
parent | 2ed520ef0116f227a4e219a833990f4b42bb524b (diff) | |
download | mandoc-e11c652985a4e684164e30aa5841f0801f4e95f0.tar.gz |
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.
-rw-r--r-- | mdoc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |