mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Remove redundant chars in symlink target display
This commit is contained in:
parent
2fc61a8f48
commit
c625679d58
1 changed files with 1 additions and 2 deletions
|
@ -5692,9 +5692,8 @@ static void statusbar(char *path)
|
||||||
i = readlink(pent->name, g_buf, PATH_MAX);
|
i = readlink(pent->name, g_buf, PATH_MAX);
|
||||||
if (i > 1) {
|
if (i > 1) {
|
||||||
g_buf[i] = '\0';
|
g_buf[i] = '\0';
|
||||||
addstr(" [-> ");
|
addstr(" ->");
|
||||||
addstr(g_buf);
|
addstr(g_buf);
|
||||||
addch(']');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
addch('\n');
|
addch('\n');
|
||||||
|
|
Loading…
Add table
Reference in a new issue