From 3f9d8011b90139eeedde5e2b7d86cf1743bab06b Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 4 Apr 2019 13:59:00 +0200 Subject: [PATCH] tweaks: don't bother copying the NUL byte -- it is set nine lines down --- src/text.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/text.c b/src/text.c index 31be459a..5186c25b 100644 --- a/src/text.c +++ b/src/text.c @@ -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--;