Ben Hutchings points out that the initial states of the key-type
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Aug 2004 18:26:54 +0000 (18:26 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 31 Aug 2004 18:26:54 +0000 (18:26 +0000)
radio buttons and menu items are inconsistent.

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

puttygen.c

index a8945b5..ff3f9f7 100644 (file)
@@ -930,7 +930,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
        }
        CheckRadioButton(hwnd, IDC_KEYSSH1, IDC_KEYSSH2DSA, IDC_KEYSSH2RSA);
        CheckMenuRadioItem(state->keymenu, IDC_KEYSSH1, IDC_KEYSSH2DSA,
-                          IDC_KEYSSH1, MF_BYCOMMAND);
+                          IDC_KEYSSH2RSA, MF_BYCOMMAND);
        SetDlgItemInt(hwnd, IDC_BITS, DEFAULT_KEYSIZE, FALSE);
 
        /*