Commit aa4eb40e authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

another cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3754 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 19cb1e6d
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -916,7 +916,9 @@ char *get_full_path(const char *origpath)
d_here = getcwd(d_here, PATH_MAX + 1);
while (d_here == NULL) {
chdir("..");
if (chdir("..") == -1)
break;
d_here = getcwd(d_here, PATH_MAX + 1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment