commit 768a75ff5faa6dd245b297db2f35d9031de3743b
parent 012425c401ba2195e999d46b807d4fb78c5a4f5b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Thu, 21 Sep 2006 01:48:54 +0000
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3879 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/files.c b/src/files.c
@@ -1162,9 +1162,9 @@ bool check_operating_dir(const char *currpath, bool allow_tabcomp)
fullpath = get_full_path(currpath);
- /* fullpath == NULL means some directory in the path doesn't exist
- * or is unreadable. If allow_tabcomp is FALSE, then currpath is
- * what the user typed somewhere. We don't want to report a
+ /* If fullpath is NULL, it means some directory in the path doesn't
+ * exist or is unreadable. If allow_tabcomp is FALSE, then currpath
+ * is what the user typed somewhere. We don't want to report a
* non-existent directory as being outside the operating directory,
* so we return FALSE. If allow_tabcomp is TRUE, then currpath
* exists, but is not executable. So we say it isn't in the