diff --git a/src/nnn.c b/src/nnn.c index 5920797f..6c90377f 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7801,7 +7801,7 @@ nochange: } if (!(r == 's' || r == 'h')) { - tmp = abspath(tmp, NULL, newpath); + tmp = abspath(tmp, path, newpath); if (!tmp) { printwarn(&presel); goto nochange;