From 3ec2ac2ef7415dc79a5da65d2034a19e289cbb8f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 27 Mar 2010 10:21:38 +0000 Subject: *** empty log message *** --- man.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'man.c') diff --git a/man.c b/man.c index 1c85c0fe..0b5d0d8a 100644 --- a/man.c +++ b/man.c @@ -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; -- cgit