~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Richard's lazy-scrolling patch. This builds up scroll operations in a list,
[sgt/putty]
/
puttygen.c
diff --git
a/puttygen.c
b/puttygen.c
index
add9431
..
fd713e0
100644
(file)
--- a/
puttygen.c
+++ b/
puttygen.c
@@
-202,10
+202,11
@@
static int prompt_keyfile(HWND hwnd, char *dlgtitle,
#endif
of.hwndOwner = hwnd;
if (ppk) {
#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.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;
}
of.lpstrCustomFilter = NULL;
of.nFilterIndex = 1;