From: simon Date: Tue, 21 Nov 2000 19:00:11 +0000 (+0000) Subject: Patch from Robert de Bath: blank the saved-session name edit box X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/05a90c049aff345457a2304777608bc5a903b5ea?ds=sidebyside;hp=1a5adedf6475d155b90afe54e7c6e12343fdcd05 Patch from Robert de Bath: blank the saved-session name edit box when loading `Default Settings'. git-svn-id: svn://svn.tartarus.org/sgt/putty@806 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windlg.c b/windlg.c index 575642b9..ca9e7f5d 100644 --- a/windlg.c +++ b/windlg.c @@ -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) { /*