X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=68d23bca03d9e3c7fc02f0facd981977228dc200;hb=9ae3c17dde160f0961987d9223515e2ce3e9c6b8;hp=7d0c86458b4de0dd03b8a84e23e22464c864cfff;hpb=12f5e5903b89d405f10521788b900d8added456f;p=xboard.git diff --git a/xoptions.c b/xoptions.c index 7d0c864..68d23bc 100644 --- a/xoptions.c +++ b/xoptions.c @@ -895,7 +895,7 @@ GenericPopUp (Option *option, char *title, DialogClass dlgNr, DialogClass parent forelast = lastrow; } else chain = 0, shrink = FALSE; j = SetPositionAndSize(args, last, lastrow, 3 /* border */, - option[i].max /* w */, shrink ? textHeight : 0 /* h */, chain /* chain */); + option[i].max /* w */, shrink ? textHeight : 0 /* h */, option[i].min & 0xE | chain /* chain */); XtSetArg(args[j], XtNlabel, _(option[i].name)); j++; if(option[i].textValue) { // special for buttons of New Variant dialog XtSetArg(args[j], XtNsensitive, appData.noChessProgram || option[i].value < 0