X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=dialog.c;h=cc1987751e0ef32aa507f3b4e641b13127c87d99;hb=a063e522970946bf7d5dc052079d7773c0dee76d;hp=cbe95124decc7b238d707500d183dc42c806025a;hpb=f3860ec95ea6308ce58cd891dedac1dc8751686e;p=PuTTY.git diff --git a/dialog.c b/dialog.c index cbe95124..cc198775 100644 --- a/dialog.c +++ b/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; }