aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-29 21:20:09 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-29 21:27:52 +0530
commitb8ede9895f83ee56da2fd9cea91cf67effce1fa7 (patch)
tree7683489298a98419800b4872586f600d8e291c55
parent8f910fe85ab704bdb8f07d52dddee61adf789da9 (diff)
downloadnnn-b8ede9895f83ee56da2fd9cea91cf67effce1fa7.tar.gz
Use more sensible msg
-rw-r--r--src/nnn.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 578a2c1..1c68b4a 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:
{