1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-15 10:07:39 -05:00

Now that we've decided on a file extension for private key files

(.PPK), make it the default in all the private-key file dialogs.

[originally from svn r1808]
This commit is contained in:
Simon Tatham
2002-08-06 17:27:18 +00:00
parent af2c66be95
commit afbd7779e4
3 changed files with 5 additions and 3 deletions

View File

@ -1240,7 +1240,7 @@ static void prompt_add_keyfile(void)
of.lStructSize = sizeof(of);
#endif
of.hwndOwner = main_hwnd;
of.lpstrFilter = "All Files\0*\0\0\0";
of.lpstrFilter = "PuTTY Private Key Files\0*.PPK\0AllFiles\0*\0\0\0";
of.lpstrCustomFilter = NULL;
of.nFilterIndex = 1;
of.lpstrFile = filelist;