nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 95b7bdbdb0d9185bb6cc0efd3cb6a15b212bd637
parent 24ae56cd4b369452f792200c9a02e655411b619d
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri, 27 Feb 2004 03:21:23 +0000

minor cosmetic fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/files.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -448,7 +448,7 @@ int do_insertfile(int loading_file) #endif #ifndef DISABLE_OPERATINGDIR - if (operating_dir != NULL && strcmp(operating_dir, ".") != 0) + if (operating_dir != NULL && strcmp(operating_dir, ".")) #ifdef ENABLE_MULTIBUFFER if (ISSET(MULTIBUFFER)) i = statusq(1, insertfile_list, inspath, @@ -1272,7 +1272,7 @@ void init_operating_dir(void) full_operating_dir = get_full_path(operating_dir); /* If get_full_path() failed or the operating directory is - inaccessible, unset operating_dir. */ + * inaccessible, unset operating_dir. */ if (full_operating_dir == NULL || chdir(full_operating_dir) == -1) { free(full_operating_dir); full_operating_dir = NULL;