1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-12 18:13:50 -05:00

Patch from Robert de Bath: blank the saved-session name edit box

when loading `Default Settings'.

[originally from svn r806]
This commit is contained in:
Simon Tatham 2000-11-21 19:00:11 +00:00
parent 664de6a1a8
commit 7a3c5f57b5

View File

@ -1164,6 +1164,8 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
init_dlg_ctrls(hwnd);
if (!isdef)
SetDlgItemText(hwnd, IDC_SESSEDIT, sessions[n]);
else
SetDlgItemText(hwnd, IDC_SESSEDIT, "");
}
if (LOWORD(wParam) == IDC_SESSLIST) {
/*