projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
The About box now contains a button that starts up a browser pointing
[u/mdw/putty]
/
windlg.c
diff --git
a/windlg.c
b/windlg.c
index
391938a
..
0120a3b
100644
(file)
--- a/
windlg.c
+++ b/
windlg.c
@@
-168,6
+168,13
@@
static int CALLBACK AboutProc (HWND hwnd, UINT msg,
EnableWindow(hwnd, 1);
SetActiveWindow(hwnd);
return 0;
+
+ case IDA_WEB:
+ /* Load web browser */
+ ShellExecute(hwnd, "open",
+ "http://www.chiark.greenend.org.uk/~sgtatham/putty/",
+ 0, 0, SW_SHOWDEFAULT);
+ return 0;
}
return 0;
case WM_CLOSE: