another formatting fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3278 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
fc8e5cb0f2
commit
3d8d29d08a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue