X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/336ec53c839ca001a3aa5af4c0fdd1f4462d2bcd..0ec4b50ff9d82409f851ea04b6587c42f97f1bdb:/puttygen.c diff --git a/puttygen.c b/puttygen.c index d7094a35..dff3b4da 100644 --- a/puttygen.c +++ b/puttygen.c @@ -297,7 +297,7 @@ static int CALLBACK AboutProc(HWND hwnd, UINT msg, return 0; case 101: EnableWindow(hwnd, 0); - DialogBox(hinst, MAKEINTRESOURCE(214), NULL, LicenceProc); + DialogBox(hinst, MAKEINTRESOURCE(214), hwnd, LicenceProc); EnableWindow(hwnd, 1); SetActiveWindow(hwnd); return 0; @@ -1035,7 +1035,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg, break; case IDC_ABOUT: EnableWindow(hwnd, 0); - DialogBox(hinst, MAKEINTRESOURCE(213), NULL, AboutProc); + DialogBox(hinst, MAKEINTRESOURCE(213), hwnd, AboutProc); EnableWindow(hwnd, 1); SetActiveWindow(hwnd); return 0;