diff options
author | Matteo Bernardini | 2019-02-17 19:00:23 +0100 |
---|---|---|
committer | Matteo Bernardini | 2019-02-17 19:00:23 +0100 |
commit | 728d1f98285ca36c6f63c48b4a9f3125ef7396ff (patch) | |
tree | b9f9d2618fd06436d8eb61488edebac987197d5e /office/htmldoc/build_fix.patch | |
parent | 77c0f4770537aea300fccd3189b723bfada95f22 (diff) | |
download | slackbuilds-d3a54bdd6cf5c967bb7a0a5a72dbf487bad56b2a.tar.gz |
20190217.1 global branch merge.current-20190217.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office/htmldoc/build_fix.patch')
-rw-r--r-- | office/htmldoc/build_fix.patch | 13 |
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) ++; |