From 4043e37d694af94a270f16519fc2fec07e918b37 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man_term.c') diff --git a/man_term.c b/man_term.c index eb2db570..5459bb4f 100644 --- a/man_term.c +++ b/man_term.c @@ -1,6 +1,6 @@ /* $Id$ */ /* - * 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