mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 18:07:59 +00:00
Oops - IDC not IDV. Typo.
[originally from svn r1173]
This commit is contained in:
parent
de987f33fe
commit
02c3d0694c
2
windlg.c
2
windlg.c
@ -663,7 +663,7 @@ static void init_dlg_ctrls(HWND hwnd, int keepsess)
|
|||||||
IDC_LSTATXAPN);
|
IDC_LSTATXAPN);
|
||||||
{
|
{
|
||||||
char *p = cfg.environmt;
|
char *p = cfg.environmt;
|
||||||
SendDlgItemMessage(hwnd, IDV_ENVLIST, LB_RESETCONTENT, 0, 0);
|
SendDlgItemMessage(hwnd, IDC_ENVLIST, LB_RESETCONTENT, 0, 0);
|
||||||
while (*p) {
|
while (*p) {
|
||||||
SendDlgItemMessage(hwnd, IDC_ENVLIST, LB_ADDSTRING, 0,
|
SendDlgItemMessage(hwnd, IDC_ENVLIST, LB_ADDSTRING, 0,
|
||||||
(LPARAM) p);
|
(LPARAM) p);
|
||||||
|
Loading…
Reference in New Issue
Block a user