X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=f80d09b104e39e693613d6ce6a8a78a616b8086b;hb=869b4ab0aebf0134fb7aed972abc0626dc5fa051;hp=08e18a0afb6d487e4fde2b10436e04050a9f39cb;hpb=96ff56c42122f376e9e6a1324c168dc949c3dc33;p=xboard.git diff --git a/xoptions.c b/xoptions.c index 08e18a0..f80d09b 100644 --- a/xoptions.c +++ b/xoptions.c @@ -409,7 +409,7 @@ Widget shells[NrOfDialogs]; DialogClass parents[NrOfDialogs]; WindowPlacement *wp[NrOfDialogs] = { // Beware! Order must correspond to DialogClass enum NULL, &wpComment, &wpTags, NULL, NULL, NULL, NULL, &wpMoveHistory, &wpGameList, &wpEngineOutput, &wpEvalGraph, - NULL, NULL, NULL, NULL, &wpMain + NULL, NULL, NULL, NULL, /*&wpMain*/ NULL }; int @@ -709,8 +709,8 @@ SetPositionAndSize (Arg *args, Widget leftNeigbor, Widget topNeigbor, int b, int if(!appData.monoMode) { if(!b && appData.dialogColor[0]) XtSetArg(args[j], XtNbackground, dialogColor), j++; if(b == 3 && appData.buttonColor[0]) XtSetArg(args[j], XtNbackground, buttonColor), j++; - if(b == 3) b = 1; } + if(b == 3) b = 1; // border XtSetArg(args[j], XtNborderWidth, b); j++; return j;