mirror of
https://github.com/jarun/nnn.git
synced 2024-09-29 09:17:51 +00:00
Remove redundant newline
This commit is contained in:
parent
b5ed36bebe
commit
7ec54342ae
|
@ -348,7 +348,6 @@ static char g_tmpfpath[TMP_LEN_MAX] __attribute__ ((aligned));
|
||||||
#define LOCKER 5
|
#define LOCKER 5
|
||||||
#define CMATRIX 6
|
#define CMATRIX 6
|
||||||
#define NLAUNCH 7
|
#define NLAUNCH 7
|
||||||
#define UNKNOWN 8
|
|
||||||
|
|
||||||
/* Utilities to open files, run actions */
|
/* Utilities to open files, run actions */
|
||||||
static char * const utils[] = {
|
static char * const utils[] = {
|
||||||
|
@ -372,7 +371,6 @@ static char * const utils[] = {
|
||||||
#endif
|
#endif
|
||||||
"cmatrix",
|
"cmatrix",
|
||||||
"nlaunch",
|
"nlaunch",
|
||||||
"UNKNOWN"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
@ -3364,7 +3362,7 @@ static void redraw(char *path)
|
||||||
xstrlcpy(buf, coolsize(dir_blocks << BLK_SHIFT), 12);
|
xstrlcpy(buf, coolsize(dir_blocks << BLK_SHIFT), 12);
|
||||||
c = cfg.apparentsz ? 'a' : 'd';
|
c = cfg.apparentsz ? 'a' : 'd';
|
||||||
|
|
||||||
mvprintw(lastln, 0, "%d/%d (%d) %s%cu:%s (%lu files) free:%s %s\n",
|
mvprintw(lastln, 0, "%d/%d (%d) %s%cu:%s (%lu files) free:%s %s",
|
||||||
cur + 1, ndents, nselected, selmode, c, buf, num_files,
|
cur + 1, ndents, nselected, selmode, c, buf, num_files,
|
||||||
coolsize(get_fs_info(path, FREE)), ptr);
|
coolsize(get_fs_info(path, FREE)), ptr);
|
||||||
} else { /* light or detail mode */
|
} else { /* light or detail mode */
|
||||||
|
@ -3375,7 +3373,7 @@ static void redraw(char *path)
|
||||||
/* Timestamp */
|
/* Timestamp */
|
||||||
strftime(buf, 18, "%Y/%b/%d %R", localtime(&pent->t));
|
strftime(buf, 18, "%Y/%b/%d %R", localtime(&pent->t));
|
||||||
|
|
||||||
mvprintw(lastln, 0, "%d/%d (%d) %s%s%s %s %s %s [%s]\n",
|
mvprintw(lastln, 0, "%d/%d (%d) %s%s%s %s %s %s [%s]",
|
||||||
cur + 1, ndents, nselected, selmode, sort, buf,
|
cur + 1, ndents, nselected, selmode, sort, buf,
|
||||||
get_lsperms(pent->mode), coolsize(pent->size), ptr, base);
|
get_lsperms(pent->mode), coolsize(pent->size), ptr, base);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue