fix breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3901 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2006-10-13 16:35:57 +00:00
parent 98bca94758
commit b5652a4d56
2 changed files with 1 additions and 7 deletions

View File

@@ -2249,10 +2249,7 @@ char *input_tab(char *buf, bool allow_files, size_t *place, bool
assert(common_len >= *place);
if (num_matches == 1 && is_dir(mzero)) {
common_len++;
mzero = charealloc(mzero, common_len + 1);
mzero[common_len - 1] = '/';
mzero[common_len] = '\0';
mzero[common_len++] = '/';
assert(common_len > *place);
}