From 087e9915b987f1cd6eb679521f87fa3e5b2b9d96 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 4 Dec 2001 19:23:46 +0000 Subject: Well, nearly working, that is. Remember to clear all paragraph attributes to default values right at the start of the file. We don't want the title on the very first page being 1000 pixels high! [originally from svn r1448] --- winhelp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/winhelp.c b/winhelp.c index cd9df00..ffbd5cd 100644 --- a/winhelp.c +++ b/winhelp.c @@ -453,6 +453,12 @@ void whlp_prepare(WHLP h) otherctx = add234(h->contexts, ctx); } while (otherctx != ctx); } + + /* + * Ensure paragraph attributes are clear for the start of text + * output. + */ + whlp_para_reset(h); } char *whlp_topic_id(WHLP_TOPIC topic) -- cgit v1.1