]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Ben Hutchings points out that the initial states of the key-type
authorSimon Tatham <anakin@pobox.com>
Tue, 31 Aug 2004 18:26:54 +0000 (18:26 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 31 Aug 2004 18:26:54 +0000 (18:26 +0000)
radio buttons and menu items are inconsistent.

[originally from svn r4521]

puttygen.c

index a8945b5c136eb26b9525c7dbfc5b48944fbd99d2..ff3f9f73b3ad06a432af9382985ebe2e78200f14 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);
 
        /*