diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-27 10:21:38 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-27 10:21:38 +0000 |
commit | 3ec2ac2ef7415dc79a5da65d2034a19e289cbb8f (patch) | |
tree | fa32e2fd2d0059e1a67465a23e5d6eb2a8801482 /man.c | |
parent | ac31de5ed982876e58850bd26a5055517e50efbb (diff) | |
download | mandoc-3ec2ac2ef7415dc79a5da65d2034a19e289cbb8f.tar.gz |
*** empty log message ***
Diffstat (limited to 'man.c')
-rw-r--r-- | man.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -492,9 +492,13 @@ man_pmacro(struct man *m, int ln, char *buf) i = 1; + /* + * Skip whitespace between the control character and initial + * text. "Whitespace" is both spaces and tabs. + */ if (' ' == buf[i]) { i++; - while (buf[i] && ' ' == buf[i]) + while (buf[i] && (' ' == buf[i] || '\t' == buf[i])) i++; if ('\0' == buf[i]) goto out; |