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:
parent
8191249d86
commit
bda15976a8
6
windlg.c
6
windlg.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user