tweaks: don't bother copying the NUL byte -- it is set nine lines down
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. */
|
/* 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--;
|
||||||
|
|
Loading…
Reference in New Issue