nnn

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

commit 8cebc69e710dec12fdef059b50d90f76b638b013
parent f6856f61f74977a7929a601a4fc28168d2cc043c
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sun, 25 Jul 2021 07:20:43 +0530

Fix build break

Diffstat:
Msrc/nnn.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -7207,10 +7207,9 @@ nochange: } } - if (nselected == 1 && (sel == SEL_CP || sel == SEL_MV)) - mkpath(path, xbasename(pselbuf), newpath); - else - newpath[0] = '\0'; + (nselected == 1 && (sel == SEL_CP || sel == SEL_MV)) + ? mkpath(path, xbasename(pselbuf), newpath) + : (newpath[0] = '\0'); endselection();