summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src/devices/grohtml/output.cc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-10 17:09:00 +0000
committerru <ru@FreeBSD.org>2001-07-10 17:09:00 +0000
commit8d6dea3a5542a987c08a218c28776d3751d6878d (patch)
tree815804646c42fb89b4a8005be0c1f82d27b95463 /contrib/groff/src/devices/grohtml/output.cc
parent9ea23f4150d8e9a0b84050876c26239addf73c8c (diff)
downloadFreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.zip
FreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.tar.gz
Virgin import of FSF groff v1.17.2
Diffstat (limited to 'contrib/groff/src/devices/grohtml/output.cc')
-rw-r--r--contrib/groff/src/devices/grohtml/output.cc5
1 files changed, 4 insertions, 1 deletions
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;
}
/*
OpenPOWER on IntegriCloud