commit f2a909dafddaa1f8ed2541fbd5873015c9a4710b
parent 404eed5fc79db79a60db98de6a1f231849543b22
Author: Arun <engineerarun@gmail.com>
Date: Sat, 25 Nov 2023 18:36:52 +0530
Merge pull request #1770 from 7ocb/pass-path-to-abspath
When handling SEL_NEW pass `path` to `abspath` call
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nnn.c b/src/nnn.c
@@ -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;