~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5ca81
)
Rainer Loritz noticed that the Telnet environment box is not cleared
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 4 Aug 2001 15:04:10 +0000
(15:04 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 4 Aug 2001 15:04:10 +0000
(15:04 +0000)
when loading a new session. Oops!
git-svn-id: svn://svn.tartarus.org/sgt/putty@1171
cda61777
-01e9-0310-a592-
d414129be87e
windlg.c
patch
|
blob
|
blame
|
history
diff --git
a/windlg.c
b/windlg.c
index
793bb08
..
07e34bb
100644
(file)
--- a/
windlg.c
+++ b/
windlg.c
@@
-663,6
+663,7
@@
static void init_dlg_ctrls(HWND hwnd, int keepsess)
IDC_LSTATXAPN);
{
char *p = cfg.environmt;
+ SendDlgItemMessage(hwnd, IDV_ENVLIST, LB_RESETCONTENT, 0, 0);
while (*p) {
SendDlgItemMessage(hwnd, IDC_ENVLIST, LB_ADDSTRING, 0,
(LPARAM) p);