From 209a6b7b995332364c7339206aebe9b564701a21 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 27 Mar 2010 10:26:39 +0000 Subject: Last fix for tabs/spaces between control character and macro. egcs gcc.1 is now handled. --- man.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man.c b/man.c index edcd44ba..6d735169 100644 --- a/man.c +++ b/man.c @@ -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 * @@ -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++; -- cgit v1.2.3