Skip to content

Commit

Permalink
Revert odd whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Feb 4, 2024
1 parent f3fe145 commit 1074ceb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2815,7 +2815,7 @@ static char *get_archive_cmd(const char *archive)
static void archive_selection(const char *cmd, const char *archive)
{
char *buf = malloc((xstrlen(patterns[P_ARCHIVE_CMD]) + xstrlen(cmd) + xstrlen(archive)
+ xstrlen(selpath)) * sizeof(char));
+ xstrlen(selpath)) * sizeof(char));
if (!buf) {
DPRINTF_S(strerror(errno));
printwarn(NULL);
Expand Down Expand Up @@ -5172,10 +5172,10 @@ static void show_help(const char *path)
"cz Archive%17e Edit file\n"
"c* Toggle exe%14> Export list\n"
"6Space + (Un)select%12m-m Select range/clear\n"
"ca Select all%14A Invert sel\n"
"ca Select all%14A Invert sel\n"
"9p ^P Copy here%12w ^W Cp/mv sel as\n"
"9v ^V Move here%15E Edit sel list\n"
"cx Delete%18S Listed sel size\n"
"cx Delete%18S Listed sel size\n"
"b^X Delete (rm-only)%06Esc Send to FIFO\n"
"0\n"
"1MISC\n"
Expand Down Expand Up @@ -7080,8 +7080,8 @@ static bool browse(char *ipath, const char *session, int pkey)

pent = &pdents[cur];
if (!g_state.selbm || !(S_ISLNK(pent->mode) &&
bmtarget(pent->name, path, newpath) &&
xstrsncpy(path, lastdir, PATH_MAX)))
bmtarget(pent->name, path, newpath) &&
xstrsncpy(path, lastdir, PATH_MAX)))
mkpath(path, pent->name, newpath);
g_state.selbm = 0;
DPRINTF_S(newpath);
Expand Down

0 comments on commit 1074ceb

Please sign in to comment.