1
1
mirror of https://github.com/jarun/nnn.git synced 2024-10-05 17:17:57 +03:00

Merge pull request #1770 from 7ocb/pass-path-to-abspath

When handling SEL_NEW pass `path` to `abspath` call
This commit is contained in:
Arun 2023-11-25 18:36:52 +05:30 committed by GitHub
commit f2a909dafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7815,7 +7815,7 @@ nochange:
}
if (!(r == 's' || r == 'h')) {
tmp = abspath(tmp, NULL, newpath);
tmp = abspath(tmp, path, newpath);
if (!tmp) {
printwarn(&presel);
goto nochange;