summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-03-02 00:00:15 +0000
committerMiles Bader <miles@gnu.org>1996-03-02 00:00:15 +0000
commit16b92508dc935bff82ba00db36033e8b5cf26f04 (patch)
tree17e031dd9da560abf5a7f70156467facdc20bbfe
parent613b86bb711f6ee54cfc088bef273be9065ac8d7 (diff)
(hol_entry_help): Don't print extraneous blank lines.
-rw-r--r--libshouldbeinlibc/argp-help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libshouldbeinlibc/argp-help.c b/libshouldbeinlibc/argp-help.c
index dd34f567..28c7bc58 100644
--- a/libshouldbeinlibc/argp-help.c
+++ b/libshouldbeinlibc/argp-help.c
@@ -524,7 +524,8 @@ hol_entry_help (struct hol_entry *entry, struct line *line,
{
if (*real->doc)
{
- line_newline (line, 0); /* Precede with a blank line. */
+ if (prev_entry && *prev_entry)
+ line_newline (line, 0); /* Precede with a blank line. */
line_indent_to (line, HEADER_COL);
line_fill (line, real->doc, HEADER_COL);
}