Fix cut'n'paste error which had the effect of making the default for
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Mar 2008 22:28:15 +0000 (22:28 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Wed, 19 Mar 2008 22:28:15 +0000 (22:28 +0000)
\cfg{html-section-shownumber}{n} undefined.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@7929 cda61777-01e9-0310-a592-d414129be87e

bk_html.c

index 96f3083..fad891c 100644 (file)
--- a/bk_html.c
+++ b/bk_html.c
@@ -253,7 +253,7 @@ static htmlconfig html_configure(paragraph *source) {
     ret.nasect = 1;
     ret.asect = snewn(ret.nasect, sectlevel);
     ret.asect[0].just_numbers = TRUE;
-    ret.achapter.number_at_all = TRUE;
+    ret.asect[0].number_at_all = TRUE;
     ret.asect[0].number_suffix = L" ";
     ret.ncdepths = 0;
     ret.contents_depths = 0;