mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Use wrapper API
This commit is contained in:
parent
f03ddb587c
commit
33953147d6
|
@ -5731,7 +5731,7 @@ nochange:
|
||||||
if (sel == SEL_NAV_IN) {
|
if (sel == SEL_NAV_IN) {
|
||||||
/* If in listing dir, go to target on `l` or Right on symlink */
|
/* If in listing dir, go to target on `l` or Right on symlink */
|
||||||
if (listpath && S_ISLNK(pdents[cur].mode)
|
if (listpath && S_ISLNK(pdents[cur].mode)
|
||||||
&& is_prefix(path, listpath, strlen(listpath))) {
|
&& is_prefix(path, listpath, xstrlen(listpath))) {
|
||||||
if (!realpath(pdents[cur].name, newpath)) {
|
if (!realpath(pdents[cur].name, newpath)) {
|
||||||
printwarn(&presel);
|
printwarn(&presel);
|
||||||
goto nochange;
|
goto nochange;
|
||||||
|
|
Loading…
Reference in a new issue