X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xaw%2Fxoptions.c;h=7bbff9becd8e75879b93e7524c415e9e8864e954;hb=c82483e9f02cc7e6efb6ee7c8140d8dd2fbd5573;hp=21281d2d3376129622d187ec6c32567d6ad45b53;hpb=d823e59019a9202feb451747f11e10b005829223;p=xboard.git diff --git a/xaw/xoptions.c b/xaw/xoptions.c index 21281d2..7bbff9b 100644 --- a/xaw/xoptions.c +++ b/xaw/xoptions.c @@ -791,7 +791,6 @@ GenericPopUp (Option *option, char *title, DialogClass dlgNr, DialogClass parent if(engineDlg) { // Settings popup for engine: format through heuristic int n = currentCps->nrOptions; - if(!n) { DisplayNote(_("Engine has no options")); currentCps = NULL; return 0; } if(n > 50) width = 4; else if(n>24) width = 2; else width = 1; height = n / width + 1; if(n && (currentOption[n-1].type == Button || currentOption[n-1].type == SaveButton)) currentOption[n].min = SAME_ROW; // OK on same line