diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-27 10:26:39 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-27 10:26:39 +0000 |
commit | 209a6b7b995332364c7339206aebe9b564701a21 (patch) | |
tree | 2cd48ce21718bcca36edb1b9b46e18c277e0e257 | |
parent | 2d5d3d7857a61439fe8071cda260d33ebd7a4ee6 (diff) | |
download | mandoc-209a6b7b995332364c7339206aebe9b564701a21.tar.gz mandoc-209a6b7b995332364c7339206aebe9b564701a21.tar.zst mandoc-209a6b7b995332364c7339206aebe9b564701a21.zip |
Last fix for tabs/spaces between control character and macro. egcs gcc.1 is now handled.VERSION_1_9_18
-rw-r--r-- | man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.56 2010/03/27 10:21:38 kristaps Exp $ */ +/* $Id: man.c,v 1.57 2010/03/27 10:26:39 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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++; |