mirror of
https://github.com/jarun/nnn.git
synced 2025-01-10 01:49:38 +00:00
Minor reformat
This commit is contained in:
parent
79af710ac4
commit
281d7cbc8b
|
@ -1300,11 +1300,10 @@ static void archive_selection(const char *cmd, const char *archive, const char *
|
||||||
char *buf = (char *)malloc(CMD_LEN_MAX * sizeof(char));
|
char *buf = (char *)malloc(CMD_LEN_MAX * sizeof(char));
|
||||||
snprintf(buf, CMD_LEN_MAX,
|
snprintf(buf, CMD_LEN_MAX,
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
"xargs -0 -a %s %s %s",
|
"xargs -0 -a %s %s %s", g_cppath, cmd, archive);
|
||||||
#else
|
#else
|
||||||
"cat %s | xargs -0 -o %s %s",
|
"cat %s | xargs -0 -o %s %s", g_cppath, cmd, archive);
|
||||||
#endif
|
#endif
|
||||||
g_cppath, cmd, archive);
|
|
||||||
spawn("sh", "-c", buf, curpath, F_NORMAL);
|
spawn("sh", "-c", buf, curpath, F_NORMAL);
|
||||||
free(buf);
|
free(buf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue