summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2015-03-19 18:26:53 +0000
committerSimon Tatham <anakin@pobox.com>2015-03-19 18:26:53 +0000
commit8e811a81e880ce78d0499a422e9fbc0dc8a5033f (patch)
tree394166d6b43de5456220d193a5e0ab4a41db4849
parenta8a18c1d1f9f46e46a0dcedc6caaabfaf2d9dd33 (diff)
downloadhalibut-8e811a81e880ce78d0499a422e9fbc0dc8a5033f.zip
halibut-8e811a81e880ce78d0499a422e9fbc0dc8a5033f.tar.gz
halibut-8e811a81e880ce78d0499a422e9fbc0dc8a5033f.tar.bz2
halibut-8e811a81e880ce78d0499a422e9fbc0dc8a5033f.tar.xz
Make HTML Help files display a font-size change button on the toolbar.
I had no idea that was a thing HTML Help could do at all, let alone that .chm files could enable or disable it via a flag! But Tino Reichardt sent in a patch which sets one extra bit in a flags word in the .hhp file, and despite 'chmspec' not mentioning that bit at all, it does indeed seem to do something useful.
-rw-r--r--bk_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_html.c b/bk_html.c
index a27108f..fd9aa3e 100644
--- a/bk_html.c
+++ b/bk_html.c
@@ -1771,7 +1771,7 @@ void html_backend(paragraph *sourceform, keywordlist *keywords,
* buttons: 7/8 (which do nothing useful), and 21/22
* (which work). (Neither of these are exposed in the HHW
* UI, but they work fine in HH.) We use the latter. */
- "0x60304e,,,,,,,,0\n",
+ "0x70304e,,,,,,,,0\n",
conf.hhc_filename ? conf.hhc_filename : "",
hhk_filename ? hhk_filename : "",
files.head->filename);