tweaks: remove two superfluous macros, as sizeof(char) is always 1

This commit is contained in:
Benno Schulenberg
2019-09-18 15:20:08 +02:00
parent 48124fdba4
commit ab6390cad0
6 changed files with 21 additions and 23 deletions

View File

@@ -2584,7 +2584,7 @@ char *input_tab(char *buf, bool allow_files, size_t *place,
/* If the matches have something in common, show that part. */
if (common_len != *place) {
buf = charealloc(buf, common_len + buf_len - *place + 1);
charmove(buf + common_len, buf + *place, buf_len - *place + 1);
memmove(buf + common_len, buf + *place, buf_len - *place + 1);
strncpy(buf, mzero, common_len);
*place = common_len;
}