From fdb5ab82f2d41cda219c5a0dd10e52e9e6bcec10 Mon Sep 17 00:00:00 2001
From: "Chris West (Faux)" <git@goeswhere.com>
Date: Sun, 11 Aug 2013 13:36:42 +0100
Subject: [PATCH] mid-session config dialog assertions

---
 config.c         | 4 ++--
 windows/wincfg.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.c b/config.c
index e56d88bf..7a5aebdf 100644
--- a/config.c
+++ b/config.c
@@ -1346,7 +1346,7 @@ void setup_config_box(struct controlbox *b, int midsession,
 			      HELPCTX(session_hostname),
 			      config_protocolbuttons_handler, P(hp),
 			      "Raw", 'w', I(PROT_RAW),
-                              "Adb", 'a', I(PROT_ADB),
+                              "Adb", 'b', I(PROT_ADB),
 			      "Telnet", 't', I(PROT_TELNET),
 			      "Rlogin", 'i', I(PROT_RLOGIN),
 			      NULL);
@@ -2332,7 +2332,7 @@ void setup_config_box(struct controlbox *b, int midsession,
 		 * displayed. 
 		 */
 
-		ctrl_filesel(s, "User-supplied GSSAPI library path:", 's',
+		ctrl_filesel(s, "User-supplied GSSAPI library path:", NO_SHORTCUT,
 			     FILTER_DYNLIB_FILES, FALSE, "Select library file",
 			     HELPCTX(ssh_gssapi_libraries),
 			     conf_filesel_handler,
diff --git a/windows/wincfg.c b/windows/wincfg.c
index e4da6bd4..a8ba8d59 100644
--- a/windows/wincfg.c
+++ b/windows/wincfg.c
@@ -116,7 +116,7 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help,
      */
     s = ctrl_getset(b, "", "", "");
     if (!has_help || !want_agent) {
-        c = ctrl_pushbutton(s, "About", 'a', HELPCTX(no_help),
+        c = ctrl_pushbutton(s, "About", NO_SHORTCUT, HELPCTX(no_help),
 			    about_handler, P(hwndp));
         c->generic.column = col++;
     }
-- 
GitLab