GetFullPathNameA -> GetFullPathName

This commit is contained in:
Sergey Lyubka 2014-01-08 18:20:13 +00:00
parent dc55a3ae40
commit 842231cc5c

View File

@ -697,10 +697,10 @@ static pid_t start_process(char *interp, const char *cmd, const char *env,
}
if (interp != NULL) {
GetFullPathNameA(interp, sizeof(buf), buf, NULL);
GetFullPathName(interp, sizeof(buf), buf, NULL);
interp = buf;
}
GetFullPathNameA(dir, sizeof(full_dir), full_dir, NULL);
GetFullPathName(dir, sizeof(full_dir), full_dir, NULL);
mg_snprintf(cmdline, sizeof(cmdline), "%s%s\"%s\"",
interp ? interp : "", interp ? " " : "", cmd);