mirror of
https://github.com/jarun/nnn.git
synced 2025-04-19 03:45:01 +00: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:
commit
f2a909dafd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue