Commit 10796ac2 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -1988,7 +1988,7 @@ int is_dir(const char *buf)
struct stat fileinfo;
int ret = (stat(dirptr, &fileinfo) != -1 &&
S_ISDIR(fileinfo.st_mode));
S_ISDIR(fileinfo.st_mode));
assert(buf != NULL && dirptr != buf);
......@@ -2078,7 +2078,7 @@ char **cwd_tab_completion(const char *buf, size_t *num_matches, size_t
char *tmpdirname = filename + 1;
filename = mallocstrcpy(NULL, tmpdirname);
tmpdirname[0] = '\0';
*tmpdirname = '\0';
tmpdirname = dirname;
dirname = real_dir_from_tilde(dirname);
free(tmpdirname);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment