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

Fix an uninitialised variable.

This looks like a real error! And recently introduced, in commit
cd094b28a3.
This commit is contained in:
Simon Tatham 2022-09-03 11:12:29 +01:00
parent ed94aa5058
commit c12cde1bea

View File

@ -1540,6 +1540,7 @@ void winctrl_layout(struct dlgparam *dp, struct winctrls *wc,
sfree(escaped);
sfree(wrapped);
} else {
num_ids = 1;
editboxfw(&pos, false, true, NULL, 0, base_id);
SetDlgItemText(pos.hwnd, base_id, ctrl->label);
MakeDlgItemBorderless(pos.hwnd, base_id);