X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/57356d6317f6f33dd622711d305c4579df63b269..fc6f0fc2d407ef98ab5e171210f840bd282cdaa8:/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";