Commit 842231cc authored by Sergey Lyubka's avatar Sergey Lyubka

GetFullPathNameA -> GetFullPathName

parent dc55a3ae
...@@ -697,10 +697,10 @@ static pid_t start_process(char *interp, const char *cmd, const char *env, ...@@ -697,10 +697,10 @@ static pid_t start_process(char *interp, const char *cmd, const char *env,
} }
if (interp != NULL) { if (interp != NULL) {
GetFullPathNameA(interp, sizeof(buf), buf, NULL); GetFullPathName(interp, sizeof(buf), buf, NULL);
interp = buf; 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\"", mg_snprintf(cmdline, sizeof(cmdline), "%s%s\"%s\"",
interp ? interp : "", interp ? " " : "", cmd); interp ? interp : "", interp ? " " : "", cmd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment