~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rainer Loritz noticed that the Telnet environment box is not cleared
[sgt/putty]
/
windlg.c
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);