From: Arun Prakash Jana Date: Sun, 25 Jul 2021 01:50:43 +0000 (+0530) Subject: Fix build break X-Git-Tag: v4.3~73 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8cebc69e710dec12fdef059b50d90f76b638b013;p=nnn.git Fix build break --- diff --git a/src/nnn.c b/src/nnn.c index 5912066a..7156c82d 100644 --- 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();