X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/62697e04c392ebc56148c4037b79a00dadc777cb..0f5e1f75aeca478a5756c7557e5f52e4dc3800fe:/config.c diff --git a/config.c b/config.c index 841c0e6a..8ad2c511 100644 --- a/config.c +++ b/config.c @@ -1484,6 +1484,10 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, HELPCTX(ssh_tunnels_portfwd), portfwd_handler, P(pfd)); pfd->listbox->listbox.height = 3; + pfd->listbox->listbox.ncols = 2; + pfd->listbox->listbox.percentages = smalloc(2*sizeof(int)); + pfd->listbox->listbox.percentages[0] = 20; + pfd->listbox->listbox.percentages[1] = 80; ctrl_tabdelay(s, pfd->rembutton); ctrl_text(s, "Add new forwarded port:", HELPCTX(ssh_tunnels_portfwd)); /* You want to enter source, destination and type, _then_ hit Add.