]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix build break
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 23 Apr 2019 14:29:37 +0000 (19:59 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 23 Apr 2019 14:29:37 +0000 (19:59 +0530)
src/nnn.c

index d475ce7b21b3c1b562f3bab49ef40718072ee6c8..11f201ff8f8bb02fdd2dae1e072eb7013c188e7a 100644 (file)
--- 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);
                }
        }