diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-16 20:12:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-01-16 20:12:45 +0000 |
commit | 4043e37d694af94a270f16519fc2fec07e918b37 (patch) | |
tree | f92c55ce9734bbd6078c4788c316cc0daac431a5 /man_term.c | |
parent | 1f5d1452b312930a67ab95f63e3fba7c783eebd6 (diff) | |
download | mandoc-4043e37d694af94a270f16519fc2fec07e918b37.tar.gz |
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@
Diffstat (limited to 'man_term.c')
-rw-r--r-- | man_term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* $Id$ */ /* - * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> + * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org> * * 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); |