mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix directory indicator
This commit is contained in:
parent
6816e83e83
commit
b2aea5c619
|
@ -2098,7 +2098,10 @@ static char *coolsize(off_t size)
|
||||||
|
|
||||||
static char *get_file_sym(mode_t mode)
|
static char *get_file_sym(mode_t mode)
|
||||||
{
|
{
|
||||||
static char ind[2] = "\0\0";
|
static char ind[2];
|
||||||
|
|
||||||
|
ind[0] = '\0';
|
||||||
|
ind[1] = '\0';
|
||||||
|
|
||||||
switch (mode & S_IFMT) {
|
switch (mode & S_IFMT) {
|
||||||
case S_IFREG:
|
case S_IFREG:
|
||||||
|
|
Loading…
Reference in a new issue