aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-13 05:40:34 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-13 05:40:34 +0530
commitad4ffb892857c0f2a79ea91304bc9a078766e60f (patch)
treec793c4ab7d03aebb14e8a66805ac21dea5c67b25 /src/nnn.c
parent33365dea52c2491837a9ece847743bf081c44bf0 (diff)
downloadnnn-ad4ffb892857c0f2a79ea91304bc9a078766e60f.tar.gz
Do not refresh if same dir
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6289a08..3564f0d 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3106,7 +3106,7 @@ nochange:
goto nochange;
if (strcmp(path, dir) == 0)
- break;
+ goto nochange;
/* SEL_CDLAST: dir pointing to lastdir */
xstrlcpy(newpath, dir, PATH_MAX);