From: David Lawrence Ramsey Date: Fri, 27 Feb 2004 03:21:23 +0000 (+0000) Subject: minor cosmetic fixes X-Git-Tag: v1.3.2~35 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=95b7bdbdb0d9185bb6cc0efd3cb6a15b212bd637;p=nano.git minor cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1669 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/files.c b/src/files.c index 2f38eff7..4006bfa7 100644 --- 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;