mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-23 01:32:06 +03:00
tweaks: don't bother copying the NUL byte -- it is set nine lines down
This commit is contained in:
parent
4788c5f97d
commit
3f9d8011b9
@ -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. */
|
||||
while (to > newdata + skip && *(to - 1) == ' ') {
|
||||
to--;
|
||||
|
Loading…
Reference in New Issue
Block a user