mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-17 02:57:33 -05:00
Make HelpCtx a per-platform type, not an intorptr.
Partly, this just seems more sensible, since it may well vary per platform beyond the ability of intorptr to specify. But more immediately it means the definition of the HELPCTX macro doesn't have to use the P() function from dialog.h, which isn't defined in any circumstances outside the config subsystem. And I'm about to want to put a help context well outside that subsystem.
This commit is contained in:
2
config.c
2
config.c
@ -1588,7 +1588,7 @@ static void clipboard_selector_handler(dlgcontrol *ctrl, dlgparam *dlg,
|
||||
}
|
||||
|
||||
static void clipboard_control(struct controlset *s, const char *label,
|
||||
char shortcut, int percentage, intorptr helpctx,
|
||||
char shortcut, int percentage, HelpCtx helpctx,
|
||||
int setting, int strsetting)
|
||||
{
|
||||
#ifdef NAMED_CLIPBOARDS
|
||||
|
Reference in New Issue
Block a user