nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 02754205a295bbd57872be9a41df57f1a8289325
parent f527dd1c6a6f2065ce9cdfb4337399021265631f
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 11 Mar 2020 21:59:34 +0530

Fix #492

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -4232,7 +4232,7 @@ static void launch_app(const char *path, char *newpath) } if (tmp && *tmp) // NOLINT - spawn(tmp, "0", NULL, path, r); + spawn(tmp, (r == F_NORMAL) ? "0" : NULL, NULL, path, r); } static int sum_bsize(const char *UNUSED(fpath), const struct stat *sb, int typeflag, struct FTW *UNUSED(ftwbuf))