summaryrefslogtreecommitdiff
path: root/bk_xhtml.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-05-04 23:17:43 +0000
committerSimon Tatham <anakin@pobox.com>2004-05-04 23:17:43 +0000
commite8b4514a1cdb8cbdbafd3bea4e9c9111513394f5 (patch)
treea7afece3bcd3bdc46232d10fa27d795252fd363b /bk_xhtml.c
parent9c877111685049b40c322cdc49d239eb39795dd9 (diff)
downloadhalibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.zip
halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.tar.gz
halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.tar.bz2
halibut-e8b4514a1cdb8cbdbafd3bea4e9c9111513394f5.tar.xz
para_Title was confusing the XHTML backend and preventing it from
printing preambles. Not quite sure how I missed that one! [originally from svn r4201]
Diffstat (limited to 'bk_xhtml.c')
-rw-r--r--bk_xhtml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_xhtml.c b/bk_xhtml.c
index 4d5069a..5d8e812 100644
--- a/bk_xhtml.c
+++ b/bk_xhtml.c
@@ -1173,7 +1173,7 @@ static void xhtml_do_paras(FILE *fp, paragraph *p, paragraph *end,
return;
/* for (; p && (xhtml_para_level(p)>limit || xhtml_para_level(p)==-1 || first); p=p->next) {*/
- for (; p && p != end && (xhtml_para_level(p)==-1 || first); p=p->next) {
+ for (; p && p != end && (xhtml_para_level(p)<=0 || first); p=p->next) {
first=FALSE;
switch (ptype = p->type)
{