From 5f8a3a3571b69070e1b440fb2936e2d64d70f85e Mon Sep 17 00:00:00 2001 From: Evgeny Pashkin Date: Thu, 29 Sep 2011 22:32:37 +0400 Subject: [PATCH] Fixed wrong path delimiter in exe finding --- compat/mingw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/mingw.c b/compat/mingw.c index f3517c78f6238d..94fa89f7c726f4 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -835,7 +835,7 @@ static void free_path_split(char **path) static char *lookup_prog(const char *dir, const char *cmd, int isexe, int exe_only) { char path[MAX_PATH]; - snprintf(path, sizeof(path), "%s/%s.exe", dir, cmd); + snprintf(path, sizeof(path), "%s\\%s.exe", dir, cmd); if (!isexe && access(path, F_OK) == 0) return xstrdup(path);