Commit 60d43339 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4082 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -1990,11 +1990,11 @@ char *real_dir_from_tilde(const char *buf)
assert(buf != NULL);
if (buf[0] == '~') {
size_t i;
size_t i = 1;
char *tilde_dir;
/* Figure out how much of the str we need to compare. */
for (i = 1; buf[i] != '/' && buf[i] != '\0'; i++)
for (; buf[i] != '/' && buf[i] != '\0'; i++)
;
/* Get the home directory. */
......
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