aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-23 19:59:37 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-04-23 19:59:37 +0530
commite973330c91386a4bf65f04a398d14647ffb7d7be (patch)
treeec5ea623fe757f18ed522e61f55937692cbe5ce3
parentadad3f2fe879c89879c00d80cbf05f279cd6cca5 (diff)
downloadnnn-e973330c91386a4bf65f04a398d14647ffb7d7be.tar.gz
Fix build break
-rw-r--r--src/nnn.c5
1 files 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);
}
}