From d62f4f8cf6230f082205e12b85981c2f2ec0dfe9 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 15 Mar 2003 15:55:03 +0000 Subject: [PATCH] The Telnet ENVIRON configurer also had a list box with an implicit tab stop. Fixed this one too. [originally from svn r2939] --- config.c | 4 ++++ 1 file changed, 4 insertions(+) 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", -- 2.45.2