X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/57356d6317f6f33dd622711d305c4579df63b269..341eb9782019fd4fd77ff56894b489a23f229131:/puttygen.c diff --git a/puttygen.c b/puttygen.c index add94319..fd713e0f 100644 --- a/puttygen.c +++ b/puttygen.c @@ -202,10 +202,11 @@ 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"; + of.lpstrFilter = "All Files (*.*)\0*\0\0\0"; } of.lpstrCustomFilter = NULL; of.nFilterIndex = 1;