From b8ede9895f83ee56da2fd9cea91cf67effce1fa7 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 29 Mar 2020 21:20:09 +0530 Subject: [PATCH] Use more sensible msg --- src/nnn.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 578a2c17..1c68b4a3 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -3762,8 +3762,7 @@ static void find_accessible_parent(char *path, char *newpath, char *lastname, in } xstrlcpy(path, dir, PATH_MAX); - - printmsg(messages[MSG_ACCESS]); + printwarn(NULL); xdelay(XDELAY_INTERVAL_MS); } @@ -5387,8 +5386,7 @@ nochange: goto nochange; } - cdprep(lastdir, lastname, path, newpath) - ? (presel = FILTER) : (watch = TRUE); + cdprep(lastdir, lastname, path, newpath) ? (presel = FILTER) : (watch = TRUE); goto begin; case S_IFREG: {