summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-03-27 10:26:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-03-27 10:26:39 +0000
commita2f2ecb395219359384c425b848bfb7f26f8f111 (patch)
tree891d9eb2234a3d0459d521b0e17882dbc53556f9
parentf42fa1910e43ada20615c3ca91e84589181e19c7 (diff)
downloadmandoc-a2f2ecb395219359384c425b848bfb7f26f8f111.tar.gz
Last fix for tabs/spaces between control character and macro. egcs gcc.1 is now handled.VERSION.1.9.18
-rw-r--r--man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man.c b/man.c
index 0b5d0d8a..a3ed74b5 100644
--- a/man.c
+++ b/man.c
@@ -496,7 +496,7 @@ man_pmacro(struct man *m, int ln, char *buf)
* Skip whitespace between the control character and initial
* text. "Whitespace" is both spaces and tabs.
*/
- if (' ' == buf[i]) {
+ if (' ' == buf[i] || '\t' == buf[i]) {
i++;
while (buf[i] && (' ' == buf[i] || '\t' == buf[i]))
i++;