1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-17 11:00:59 -05:00

Add some missing initialisations.

Spotted by valgrind, after I was testing all the Coverity bug fixes :-)
This commit is contained in:
Simon Tatham
2014-11-22 14:57:06 +00:00
parent 69d50b2877
commit f454235444
2 changed files with 4 additions and 0 deletions

View File

@ -381,6 +381,7 @@ union control *ctrl_droplist(struct controlset *s, char *label, char shortcut,
c->listbox.percentwidth = percentage;
c->listbox.ncols = 0;
c->listbox.percentages = NULL;
c->listbox.hscroll = FALSE;
return c;
}
@ -397,6 +398,7 @@ union control *ctrl_draglist(struct controlset *s,char *label,char shortcut,
c->listbox.percentwidth = 100;
c->listbox.ncols = 0;
c->listbox.percentages = NULL;
c->listbox.hscroll = FALSE;
return c;
}