mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Do not refresh if same dir
This commit is contained in:
parent
33365dea52
commit
ad4ffb8928
|
@ -3106,7 +3106,7 @@ nochange:
|
||||||
goto nochange;
|
goto nochange;
|
||||||
|
|
||||||
if (strcmp(path, dir) == 0)
|
if (strcmp(path, dir) == 0)
|
||||||
break;
|
goto nochange;
|
||||||
|
|
||||||
/* SEL_CDLAST: dir pointing to lastdir */
|
/* SEL_CDLAST: dir pointing to lastdir */
|
||||||
xstrlcpy(newpath, dir, PATH_MAX);
|
xstrlcpy(newpath, dir, PATH_MAX);
|
||||||
|
|
Loading…
Reference in a new issue