summaryrefslogtreecommitdiff
path: root/src/devices/grohtml/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grohtml/output.cc')
-rw-r--r--src/devices/grohtml/output.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/grohtml/output.cc b/src/devices/grohtml/output.cc
index 4c72bba7..88ab7d6c 100644
--- a/src/devices/grohtml/output.cc
+++ b/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;
}
/*