Just for Jacob, the ciphers drag list is now six lines high instead
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Mar 2003 19:20:33 +0000 (19:20 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 6 Mar 2003 19:20:33 +0000 (19:20 +0000)
of five, so that the scroll bar doesn't show up when it's active.

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

config.c

index f41e9ec..df8134b 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1384,9 +1384,11 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
                          "2 only", 'n', I(3), NULL);
 
        s = ctrl_getset(b, "Connection/SSH", "encryption", "Encryption options");
-       ctrl_draglist(s, "Encryption cipher selection policy:", 's',
-                     HELPCTX(ssh_ciphers),
-                     cipherlist_handler, P(NULL));
+       c = ctrl_draglist(s, "Encryption cipher selection policy:", 's',
+                         HELPCTX(ssh_ciphers),
+                         cipherlist_handler, P(NULL));
+       c->listbox.height = 6;
+       
        ctrl_checkbox(s, "Enable non-standard use of single-DES in SSH 2", 'i',
                      HELPCTX(ssh_ciphers),
                      dlg_stdcheckbox_handler,