Use wrapper API

This commit is contained in:
Arun Prakash Jana 2020-08-03 22:25:42 +05:30
parent f03ddb587c
commit 33953147d6
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -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;