From: Chris Allegretta Date: Tue, 3 Apr 2001 14:26:35 +0000 (+0000) Subject: Oops, stray parenthesis when PATH_MAX isn't defined X-Git-Tag: v1.0.1~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=60c65424c38833ac533c5eba6798e72194f9fd9b;p=nano.git Oops, stray parenthesis when PATH_MAX isn't defined git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@586 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/files.c b/files.c index 40d1a36f..1d749f96 100644 --- 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 : "./"); }