summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2001-12-04 19:23:46 +0000
committerSimon Tatham <anakin@pobox.com>2001-12-04 19:23:46 +0000
commit087e9915b987f1cd6eb679521f87fa3e5b2b9d96 (patch)
tree8041d299c46f5c0b9061caa01a3c9ef9f8013103
parent69d90cdcfde25f6fb52871f0fea9c7b3010c9134 (diff)
downloadhalibut-087e9915b987f1cd6eb679521f87fa3e5b2b9d96.zip
halibut-087e9915b987f1cd6eb679521f87fa3e5b2b9d96.tar.gz
halibut-087e9915b987f1cd6eb679521f87fa3e5b2b9d96.tar.bz2
halibut-087e9915b987f1cd6eb679521f87fa3e5b2b9d96.tar.xz
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]
-rw-r--r--winhelp.c6
1 files changed, 6 insertions, 0 deletions
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)