From: H.G. Muller Date: Mon, 9 May 2011 07:48:27 +0000 (+0200) Subject: Make 'add to list' default in Load Engine dialog X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=0019f0f86309b939047d7260114168320c50e875;p=xboard.git Make 'add to list' default in Load Engine dialog --- diff --git a/winboard/wsettings.c b/winboard/wsettings.c index de12332..b1fe4d7 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -655,7 +655,7 @@ void LoadEnginePopUp(HWND hwnd) { int n=0; - isUCI = addToList = storeVariant = v1 = useNick = FALSE; hasBook = TRUE; // defaults + isUCI = storeVariant = v1 = useNick = FALSE; addToList = hasBook = TRUE; // defaults if(engineDir) free(engineDir); engineDir = strdup(""); if(params) free(params); params = strdup(""); if(nickName) free(nickName); nickName = strdup(""); diff --git a/xoptions.c b/xoptions.c index e66e4bc..8592229 100644 --- a/xoptions.c +++ b/xoptions.c @@ -2063,7 +2063,7 @@ void LoadEngineProc(w, event, prms, nprms) String *prms; Cardinal *nprms; { - isUCI = addToList = storeVariant = v1 = useNick = False; hasBook = True; // defaults + isUCI = storeVariant = v1 = useNick = False; addToList = hasBook = True; // defaults if(engineChoice) free(engineChoice); engineChoice = strdup(engineNr[0]); if(engineLine) free(engineLine); engineLine = strdup(""); if(engineDir) free(engineDir); engineDir = strdup("");