From: H.G. Muller Date: Thu, 5 Apr 2012 13:18:25 +0000 (+0200) Subject: Change default directory in Load Engine to "." X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=92f1b2a5b816a4d750f2f0eabd87ed581e27e09d;p=xboard.git Change default directory in Load Engine to "." --- diff --git a/dialogs.c b/dialogs.c index dea46c9..b802c62 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1239,7 +1239,7 @@ LoadEngineProc (int engineNr, char *title) isUCI = storeVariant = v1 = useNick = False; addToList = hasBook = True; // defaults secondEng = engineNr; if(engineLine) free(engineLine); engineLine = strdup(""); - if(engineDir) free(engineDir); engineDir = strdup(""); + if(engineDir) free(engineDir); engineDir = strdup("."); if(nickName) free(nickName); nickName = strdup(""); if(params) free(params); params = strdup(""); ASSIGN(engineMnemonic[0], "");