Ben Hutchings points out that the initial states of the key-type
[u/mdw/putty] / 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);
 
        /*