]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
The Telnet ENVIRON configurer also had a list box with an implicit
authorSimon Tatham <anakin@pobox.com>
Sat, 15 Mar 2003 15:55:03 +0000 (15:55 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Mar 2003 15:55:03 +0000 (15:55 +0000)
tab stop. Fixed this one too.

[originally from svn r2939]

config.c

index 8ad2c51145c14bf3fe9895ed3ba3e1bcaf111c4a..595461755aea2e74ff43ebc417ac5e4e4a3fc231 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",