diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-26 09:35:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-26 09:35:35 +0000 |
commit | 7d24aa6b61fc7c0a61348119c53447f5c9b1b892 (patch) | |
tree | 8a15230522126a4b7d1f5821880abdca2a1a1dc9 /mdoc.c | |
parent | 0088ea8a5565f33b588d35efb5383d380c1dabcc (diff) | |
download | mandoc-7d24aa6b61fc7c0a61348119c53447f5c9b1b892.tar.gz |
Fixed `Lb' to be in_line (reported by Ulrich Spoerlein).
Added `Lb' documentation to mdoc.7.
Removed harmless but superfluous pre_lb check (was just NULL entries).
Added regressions for `Lb' (NOTE that these will only run on new groff,
as old groff doesn't support `Lb' at all).
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -560,6 +560,8 @@ mdoc_ptext(struct mdoc *m, int line, char *buf, int offs) * Search for the beginning of unescaped trailing whitespace (ws) * and for the first character not to be output (end). */ + + /* FIXME: replace with strcspn(). */ ws = NULL; for (c = end = buf + offs; *c; c++) { switch (*c) { |