From 8e811a81e880ce78d0499a422e9fbc0dc8a5033f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 19 Mar 2015 18:26:53 +0000 Subject: 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. --- bk_html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1