summaryrefslogtreecommitdiffstats
path: root/office/htmldoc/build_fix.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-06-23 10:14:02 +0200
committer Matteo Bernardini2019-06-23 10:14:02 +0200
commit0838c924f3b7d36a83b7c907cd9c083d893fe35f (patch)
treee30695b4cc9fefb4d325ee530731ebcd7ae20932 /office/htmldoc/build_fix.patch
parent363a906a0b578360fc08e5e6193c228be8fbe259 (diff)
downloadslackbuilds-0838c924f3b7d36a83b7c907cd9c083d893fe35f.tar.gz
20190623.1 global branch merge.current-20190623.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/htmldoc/build_fix.patch')
-rw-r--r--office/htmldoc/build_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/htmldoc/build_fix.patch b/office/htmldoc/build_fix.patch
new file mode 100644
index 0000000000..280ee4e554
--- /dev/null
+++ b/office/htmldoc/build_fix.patch
@@ -0,0 +1,13 @@
+diff --git a/htmldoc/htmlsep.cxx b/htmldoc/htmlsep.cxx
+index f2d57bff..d9b2ca30 100644
+--- a/htmldoc/htmlsep.cxx
++++ b/htmldoc/htmlsep.cxx
+@@ -517,7 +517,7 @@ write_doc(FILE **out, // I - Output file
+ if (t->markup >= MARKUP_H1 && t->markup < (MARKUP_H1 + TocLevels) &&
+ htmlGetVariable(t, (uchar *)"_HD_OMIT_TOC") == NULL)
+ {
+- if (heading >= 0)
++ if (*heading >= 0)
+ write_footer(out, *heading);
+
+ (*heading) ++;