Commit 3d8d29d0 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

another formatting fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3278 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -2006,8 +2006,8 @@ char **username_tab_completion(const char *buf, size_t *num_matches, ...@@ -2006,8 +2006,8 @@ char **username_tab_completion(const char *buf, size_t *num_matches,
continue; continue;
#endif #endif
matches = (char **)nrealloc(matches, matches = (char **)nrealloc(matches, (*num_matches + 1) *
(*num_matches + 1) * sizeof(char *)); sizeof(char *));
matches[*num_matches] = matches[*num_matches] =
charalloc(strlen(userdata->pw_name) + 2); charalloc(strlen(userdata->pw_name) + 2);
sprintf(matches[*num_matches], "~%s", userdata->pw_name); sprintf(matches[*num_matches], "~%s", userdata->pw_name);
......
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