1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Fix a very old bug nobody ever noticed: multiple About boxes :-)

[originally from svn r647]
This commit is contained in:
Simon Tatham 2000-09-29 08:42:55 +00:00
parent 8191249d86
commit bda15976a8

View File

@ -392,14 +392,12 @@ static int CALLBACK LicenceProc (HWND hwnd, UINT msg,
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDOK:
abtbox = NULL;
DestroyWindow (hwnd);
EndDialog(hwnd, 1);
return 0;
}
return 0;
case WM_CLOSE:
abtbox = NULL;
DestroyWindow (hwnd);
EndDialog(hwnd, 1);
return 0;
}
return 0;