]> git.wh0rd.org Git - nano.git/commitdiff
Oops, stray parenthesis when PATH_MAX isn't defined
authorChris Allegretta <chrisa@asty.org>
Tue, 3 Apr 2001 14:26:35 +0000 (14:26 +0000)
committerChris Allegretta <chrisa@asty.org>
Tue, 3 Apr 2001 14:26:35 +0000 (14:26 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

files.c

diff --git a/files.c b/files.c
index 40d1a36f046fe69cffafa9224ff1999281309ad1..1d749f961913bb570ec4528b485cc545d5f1f844 100644 (file)
--- a/files.c
+++ b/files.c
@@ -1368,7 +1368,7 @@ char *do_browse_from(char *inpath)
 #ifdef PATH_MAX
        char *from = getcwd(NULL, PATH_MAX+1);
 #else
-       char *from = getcwd(NULL, 0));
+       char *from = getcwd(NULL, 0);
 #endif /* PATH_MAX */
        return do_browser(from ? from : "./");
     }