1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Rainer Loritz noticed that the Telnet environment box is not cleared

when loading a new session. Oops!

[originally from svn r1171]
This commit is contained in:
Simon Tatham 2001-08-04 15:04:10 +00:00
parent 3bc9118bc4
commit 3b81448ae4

View File

@ -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);