~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]
/
pageant.c
diff --git
a/pageant.c
b/pageant.c
index
2ebf3ab
..
e0def27
100644
(file)
--- a/
pageant.c
+++ b/
pageant.c
@@
-197,6
+197,7
@@
static int CALLBACK LicenceProc(HWND hwnd, UINT msg,
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
+ case IDCANCEL:
EndDialog(hwnd, 1);
return 0;
}
@@
-221,6
+222,7
@@
static int CALLBACK AboutProc(HWND hwnd, UINT msg,
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
+ case IDCANCEL:
aboutbox = NULL;
DestroyWindow(hwnd);
return 0;