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:
2
dialog.c
2
dialog.c
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user