]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Just for Jacob, the ciphers drag list is now six lines high instead
authorSimon Tatham <anakin@pobox.com>
Thu, 6 Mar 2003 19:20:33 +0000 (19:20 +0000)
committerSimon Tatham <anakin@pobox.com>
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.

[originally from svn r2918]

config.c

index f41e9ec4dfa0e18a16266e9f8fcb1c5ad2e5fcb8..df8134bd8ea3441734f9f8cfa0de104fc537bd39 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,