The Telnet ENVIRON configurer also had a list box with an implicit
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Mar 2003 15:55:03 +0000 (15:55 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 15 Mar 2003 15:55:03 +0000 (15:55 +0000)
tab stop. Fixed this one too.

git-svn-id: svn://svn.tartarus.org/sgt/putty@2939 cda61777-01e9-0310-a592-d414129be87e

config.c

index 8ad2c51..5954617 100644 (file)
--- 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",