~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Malcolm Rowe's UI tweak patch for About/Licence: recognise `Esc' to close
[sgt/putty]
/
puttygen.c
diff --git
a/puttygen.c
b/puttygen.c
index
ff3f9f7
..
3f2be92
100644
(file)
--- a/
puttygen.c
+++ b/
puttygen.c
@@
-253,6
+253,7
@@
static int CALLBACK LicenceProc(HWND hwnd, UINT msg,
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
+ case IDCANCEL:
EndDialog(hwnd, 1);
return 0;
}
@@
-292,6
+293,7
@@
static int CALLBACK AboutProc(HWND hwnd, UINT msg,
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
+ case IDCANCEL:
EndDialog(hwnd, 1);
return 0;
case 101: