From: simon Date: Sat, 15 Mar 2003 15:55:03 +0000 (+0000) Subject: The Telnet ENVIRON configurer also had a list box with an implicit X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/d437fc9de7950e99879184b01c6c81e88d607b9a The Telnet ENVIRON configurer also had a list box with an implicit tab stop. Fixed this one too. git-svn-id: svn://svn.tartarus.org/sgt/putty@2939 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/config.c b/config.c index 8ad2c511..59546175 100644 --- a/config.c +++ b/config.c @@ -1308,6 +1308,10 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, HELPCTX(telnet_environ), environ_handler, P(ed)); ed->listbox->listbox.height = 3; + ed->listbox->listbox.ncols = 2; + ed->listbox->listbox.percentages = smalloc(2*sizeof(int)); + ed->listbox->listbox.percentages[0] = 30; + ed->listbox->listbox.percentages[1] = 70; } s = ctrl_getset(b, "Connection/Telnet", "protocol",