From 8d6dea3a5542a987c08a218c28776d3751d6878d Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 10 Jul 2001 17:09:00 +0000 Subject: Virgin import of FSF groff v1.17.2 --- contrib/groff/src/devices/grohtml/output.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib/groff/src/devices/grohtml/output.cc') diff --git a/contrib/groff/src/devices/grohtml/output.cc b/contrib/groff/src/devices/grohtml/output.cc index 4c72bba..88ab7d6 100644 --- a/contrib/groff/src/devices/grohtml/output.cc +++ b/contrib/groff/src/devices/grohtml/output.cc @@ -71,7 +71,7 @@ word::~word () */ word_list::word_list () - : head(0), tail(0), length(0) + : length(0), head(0), tail(0) { } @@ -208,6 +208,7 @@ simple_output &simple_output::check_newline(int n) fputc('\n', fp); col = last_word.flush(fp); } + return *this; } /* @@ -236,6 +237,7 @@ simple_output &simple_output::space_or_newline (void) col += last_word.flush(fp); } } + return *this; } /* @@ -303,6 +305,7 @@ simple_output &simple_output::enable_newlines (int auto_newlines) check_newline(0); newlines = auto_newlines; check_newline(0); + return *this; } /* -- cgit v1.1