From 33953147d62d30fc69cf98f0cdaf01b5d3fdeb00 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 3 Aug 2020 22:25:42 +0530 Subject: [PATCH] Use wrapper API --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nnn.c b/src/nnn.c index 16f94ad0..4a22723a 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -5731,7 +5731,7 @@ nochange: if (sel == SEL_NAV_IN) { /* If in listing dir, go to target on `l` or Right on symlink */ if (listpath && S_ISLNK(pdents[cur].mode) - && is_prefix(path, listpath, strlen(listpath))) { + && is_prefix(path, listpath, xstrlen(listpath))) { if (!realpath(pdents[cur].name, newpath)) { printwarn(&presel); goto nochange;