From e973330c91386a4bf65f04a398d14647ffb7d7be Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 23 Apr 2019 19:59:37 +0530 Subject: Fix build break --- src/nnn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index d475ce7..11f201f 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1892,8 +1892,9 @@ static char *get_bm_loc(char *buf, int key) xstrlcpy(buf, home, len + 1); xstrlcpy(buf + len, bookmark[r].loc + 1, loclen); return buf; - } else - return realpath(bookmark[r].loc, buf); + } + + return realpath(bookmark[r].loc, buf); } } -- cgit v1.2.3-70-g09d2