Remove redundant chars in symlink target display

This commit is contained in:
Arun Prakash Jana 2021-03-21 05:58:34 +05:30
parent 2fc61a8f48
commit c625679d58
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -5692,9 +5692,8 @@ static void statusbar(char *path)
i = readlink(pent->name, g_buf, PATH_MAX);
if (i > 1) {
g_buf[i] = '\0';
addstr(" [-> ");
addstr(" ->");
addstr(g_buf);
addch(']');
}
}
addch('\n');