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
1 changed files with 1 additions and 1 deletions

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;