X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/57356d6317f6f33dd622711d305c4579df63b269..47489d8daef971352cfb1ec30c998ed7b048c97c:/puttygen.c diff --git a/puttygen.c b/puttygen.c index add94319..7bfd1e6d 100644 --- a/puttygen.c +++ b/puttygen.c @@ -202,7 +202,8 @@ static int prompt_keyfile(HWND hwnd, char *dlgtitle, #endif of.hwndOwner = hwnd; if (ppk) { - of.lpstrFilter = "PuTTY Private Key Files\0*.PPK\0All Files\0*\0\0\0"; + of.lpstrFilter = "PuTTY Private Key Files (*.ppk)\0*.PPK\0" + "All Files\0*\0\0\0"; of.lpstrDefExt = ".ppk"; } else { of.lpstrFilter = "All Files\0*\0\0\0";