mirror of
https://github.com/jarun/nnn.git
synced 2024-11-19 17:39:14 +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));
|
||||
snprintf(buf, CMD_LEN_MAX,
|
||||
#ifdef __linux__
|
||||
"xargs -0 -a %s %s %s",
|
||||
"xargs -0 -a %s %s %s", g_cppath, cmd, archive);
|
||||
#else
|
||||
"cat %s | xargs -0 -o %s %s",
|
||||
"cat %s | xargs -0 -o %s %s", g_cppath, cmd, archive);
|
||||
#endif
|
||||
g_cppath, cmd, archive);
|
||||
spawn("sh", "-c", buf, curpath, F_NORMAL);
|
||||
free(buf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue