projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from Robert de Bath: blank the saved-session name edit box
[u/mdw/putty]
/
windlg.c
diff --git
a/windlg.c
b/windlg.c
index
575642b
..
ca9e7f5
100644
(file)
--- 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) {
/*