1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-05 13:32:48 -05:00

Remove most traces of WinHelp support.

Remove the 'winhelp-topic' IDs from the Halibut source, and from the
code. Now we have one fewer name to think of every time we add a
setting.

I've left the HELPCTX system in place, with the vague notion that it
might be a useful layer of indirection for some future help system on a
platform like Mac OS X.

(I've left the putty.hlp target in doc/Makefile, if nothing else because
this is a convenient test case for Halibut's WinHelp support. But the
resulting help file will no longer support context help.)
This commit is contained in:
Jacob Nevins
2019-03-26 00:27:04 +00:00
parent 7ad08649a2
commit 464e351c7b
8 changed files with 174 additions and 519 deletions

View File

@ -229,11 +229,8 @@ void launch_help(HWND hwnd, const char *topic)
return;
if (topic) {
int colonpos = strcspn(topic, ":");
assert(topic[colonpos] != '\0');
char *fname = dupprintf(
"%s::/%s.html>main", chm_path, topic + colonpos + 1);
"%s::/%s.html>main", chm_path, topic);
p_HtmlHelpA(hwnd, fname, HH_DISPLAY_TOPIC, 0);
sfree(fname);
} else {