summaryrefslogtreecommitdiff
path: root/src/roff/troff/node.h
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-05-16 11:07:51 +0000
committerwlemb <wlemb>2001-05-16 11:07:51 +0000
commit59b5860e276a37567b7c0b1f6a6acadb8b9ab4c6 (patch)
tree08c4ce5ae83c1adf952e58ed745bf32d889b6af8 /src/roff/troff/node.h
parent73b696c337bcaaf324fba6d02ff4081adeab0a10 (diff)
downloadgroff-59b5860e276a37567b7c0b1f6a6acadb8b9ab4c6.tar.gz
* contrib/mm/m.tmac (TH): Fix incorrect error message.
* src/roff/troff/input.cc (read_size): Emit warning if value becomes less than or equal zero; set it to 1 then. * src/roff/troff/node.h (node::node): Initialize `last'.
Diffstat (limited to 'src/roff/troff/node.h')
-rw-r--r--src/roff/troff/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roff/troff/node.h b/src/roff/troff/node.h
index 48140c74..a58afed1 100644
--- a/src/roff/troff/node.h
+++ b/src/roff/troff/node.h
@@ -106,11 +106,11 @@ struct node {
virtual const char *type() = 0;
};
-inline node::node() : next(0)
+inline node::node() : next(0), last(0)
{
}
-inline node::node(node *n) : next(n)
+inline node::node(node *n) : next(n), last(0)
{
}