X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=dialog.c;h=cc1987751e0ef32aa507f3b4e641b13127c87d99;hb=a063e522970946bf7d5dc052079d7773c0dee76d;hp=84869195fad5394ac8c7869c61f3712473c8ad52;hpb=ff09d5379bd9f6fdb43c55be1ca5244247691f22;p=PuTTY.git diff --git a/dialog.c b/dialog.c index 84869195..cc198775 100644 --- a/dialog.c +++ b/dialog.c @@ -364,6 +364,7 @@ union control *ctrl_listbox(struct controlset *s,char *label,char shortcut, c->listbox.percentwidth = 100; c->listbox.ncols = 0; c->listbox.percentages = NULL; + c->listbox.hscroll = TRUE; return c; } @@ -380,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; } @@ -396,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; }