From 0019f0f86309b939047d7260114168320c50e875 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 9 May 2011 09:48:27 +0200 Subject: [PATCH] Make 'add to list' default in Load Engine dialog --- winboard/wsettings.c | 2 +- xoptions.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(""); -- 1.7.0.4