]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/winpgen.c
Pageant and PuTTYgen About boxes: add the website button.
[PuTTY.git] / windows / winpgen.c
index 98c2097ebb8400c7957346121e13fdd6b31192e3..c4f4de45b4b180de18a6dda492bc7d9e0c64d0e5 100644 (file)
@@ -319,6 +319,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: