]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winpgnt.c
Pageant and PuTTYgen About boxes: add the website button.
[PuTTY.git] / windows / winpgnt.c
index fe0822e4889f4f10706cbe7b63cae9d53e783252..70f3d2ca531b66ac88347890f377daaa36bd2843 100644 (file)
@@ -175,6 +175,12 @@ static INT_PTR CALLBACK AboutProc(HWND hwnd, UINT msg,
            EnableWindow(hwnd, 1);
            SetActiveWindow(hwnd);
            return 0;
+         case 102:
+           /* 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: