tweaks: don't bother copying the NUL byte -- it is set nine lines down

master
Benno Schulenberg 2019-04-04 13:59:00 +02:00
parent 4788c5f97d
commit 3f9d8011b9
1 changed files with 0 additions and 2 deletions

View File

@ -1752,8 +1752,6 @@ void squeeze(linestruct *line, size_t skip)
} }
} }
*to = *from;
/* If there are spaces at the end of the line, remove them. */ /* If there are spaces at the end of the line, remove them. */
while (to > newdata + skip && *(to - 1) == ' ') { while (to > newdata + skip && *(to - 1) == ' ') {
to--; to--;