1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-09 15:18:06 -05:00

Restore 'Local' proxy type in config UI.

It was accidentally disabled in 2a26ebd0d5.
This commit is contained in:
Jacob Nevins 2022-04-29 11:39:04 +01:00
parent 42dcd465ab
commit e6df50ea6b
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ void unix_setup_config_box(struct controlbox *b, bool midsession, int protocol)
s = ctrl_getset(b, "Connection/Proxy", "basics", NULL);
for (i = 0; i < s->ncontrols; i++) {
c = s->ctrls[i];
if (c->generic.type == CTRL_RADIO &&
if (c->generic.type == CTRL_LISTBOX &&
c->generic.handler == proxy_type_handler) {
c->generic.context.i |= PROXY_UI_FLAG_LOCAL;
break;

View File

@ -362,7 +362,7 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, bool has_help,
s = ctrl_getset(b, "Connection/Proxy", "basics", NULL);
for (i = 0; i < s->ncontrols; i++) {
c = s->ctrls[i];
if (c->generic.type == CTRL_RADIO &&
if (c->generic.type == CTRL_LISTBOX &&
c->generic.handler == proxy_type_handler) {
c->generic.context.i |= PROXY_UI_FLAG_LOCAL;
break;