Steven Shockley points out that the .PPK extension is far from obvious to
[u/mdw/putty] / pageant.c
index 0ffb24c..0826bf4 100644 (file)
--- a/pageant.c
+++ b/pageant.c
@@ -1250,7 +1250,8 @@ static void prompt_add_keyfile(void)
     of.lStructSize = sizeof(of);
 #endif
     of.hwndOwner = main_hwnd;
-    of.lpstrFilter = "PuTTY Private Key Files\0*.PPK\0AllFiles\0*\0\0\0";
+    of.lpstrFilter = "PuTTY Private Key Files (*.ppk)\0*.PPK\0"
+       "AllFiles\0*\0\0\0";
     of.lpstrCustomFilter = NULL;
     of.nFilterIndex = 1;
     of.lpstrFile = filelist;