From bdd57b0f6e96851f88fd7cd70c4267e348d46308 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 16 Jan 2011 20:12:45 +0000 Subject: When processing a blank text line, do not break out of text processing into macro processing code. Fixing a regression introduced in 1.95, found because it caused segfaults in my regression suite. OK kristaps@ --- man_term.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index b6e4b004..a37fbeaa 100644 --- a/man_term.c +++ b/man_term.c @@ -1,6 +1,6 @@ -/* $Id: man_term.c,v 1.97 2011/01/12 15:23:25 kristaps Exp $ */ +/* $Id: man_term.c,v 1.98 2011/01/16 20:12:45 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any @@ -864,7 +864,7 @@ print_man_node(DECL_ARGS) */ if ('\0' == *n->string) { term_vspace(p); - break; + return; } else if (' ' == *n->string && MAN_LINE & n->flags) term_newln(p); -- cgit v1.2.3-56-ge451