Minor reformat

This commit is contained in:
Arun Prakash Jana 2019-07-27 19:05:31 +05:30
parent 79af710ac4
commit 281d7cbc8b
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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);
}