aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index b168b6c..b6918d1 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -2549,7 +2549,7 @@ static void populate(char *path, char *lastname)
if (!*lastname)
cur = 0;
else
- dentfind(lastname, ndents);
+ cur = dentfind(lastname, ndents);
}
static void redraw(char *path)