summaryrefslogtreecommitdiff
path: root/src/devices/grohtml/post-html.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grohtml/post-html.cc')
-rw-r--r--src/devices/grohtml/post-html.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/grohtml/post-html.cc b/src/devices/grohtml/post-html.cc
index 0237bfc1..be681b8f 100644
--- a/src/devices/grohtml/post-html.cc
+++ b/src/devices/grohtml/post-html.cc
@@ -102,11 +102,13 @@ static int max (int a, int b)
* is_subsection - returns TRUE if a1..a2 is within b1..b2
*/
+#if 0
static int is_subsection (int a1, int a2, int b1, int b2)
{
// easier to see whether this is not the case
return( !((a1 < b1) || (a1 > b2) || (a2 < b1) || (a2 > b2)) );
}
+#endif
/*
* is_intersection - returns TRUE if range a1..a2 intersects with b1..b2
@@ -357,11 +359,11 @@ public:
style text_style;
char *text_string;
unsigned int text_length;
- int minv, maxv, minh, maxh;
+ int minv, minh, maxv, maxh;
int is_raw_command; // should the text be sent directly to the device?
int is_tag; // is this a .br, .sp, .tl etc
- int is_line; // is the command a <line>?
int is_img_auto; // image created by eqn delim
+ int is_line; // is the command a <line>?
int thickness; // the thickness of a line
};
@@ -379,7 +381,7 @@ text_glob::text_glob (style *s, char *string, unsigned int length,
}
text_glob::text_glob ()
- : text_string(0), text_length(0), minv(-1), maxv(-1), minh(-1), maxh(-1),
+ : text_string(0), text_length(0), minv(-1), minh(-1), maxv(-1), maxh(-1),
is_raw_command(FALSE), is_tag(FALSE), is_line(FALSE), thickness(0)
{
}
@@ -455,7 +457,7 @@ struct element_list {
element_list *left;
text_glob *datum;
int lineno;
- int minv, maxv, minh, maxh;
+ int minv, minh, maxv, maxh;
element_list (text_glob *d,
int line_number,
@@ -465,7 +467,7 @@ struct element_list {
};
element_list::element_list ()
- : right(0), left(0), datum(0), lineno(0), minv(-1), maxv(-1), minh(-1), maxh(-1)
+ : right(0), left(0), datum(0), lineno(0), minv(-1), minh(-1), maxv(-1), maxh(-1)
{
}
@@ -2283,10 +2285,10 @@ html_printer::html_printer()
end_tempindent(0),
next_tag(INLINE),
fill_on(TRUE),
+ linelength(0),
pageoffset(0),
indentation(0),
prev_indent(0),
- linelength(0),
line_number(0)
{
#if defined(DEBUGGING)