From 9ae3c17dde160f0961987d9223515e2ce3e9c6b8 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Tue, 10 Apr 2012 18:39:25 +0200 Subject: [PATCH] Don't strip path from engine name if directory given --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backend.c b/backend.c index cc42334..58f8079 100644 --- a/backend.c +++ b/backend.c @@ -920,7 +920,7 @@ Load (ChessProgramState *cps, int i) while(q = strchr(p, SLASH)) p = q+1; if(*p== NULLCHAR) { DisplayError(_("You did not specify the engine executable"), 0); return; } if(engineDir[0] != NULLCHAR) { - ASSIGN(appData.directory[i], engineDir); + ASSIGN(appData.directory[i], engineDir); p = engineName; } else if(p != engineName) { // derive directory from engine path, when not given p[-1] = 0; ASSIGN(appData.directory[i], engineName); -- 1.7.0.4