nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 5cb4485fa5a9cc40df7df4e8026e98126da78a01
parent d7c1ab8e8041d9b368fc1f7b91ca9e3990735dd7
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 27 May 2018 17:16:04 +0200

tweaks: remove a superfluous assignment -- the lead length never changes

Diffstat:
Msrc/text.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -2337,8 +2337,6 @@ void do_justify(bool full_justify) while (par_len > 0 && strlenpt(openfile->current->data) > fill) { size_t line_len = strlen(openfile->current->data); - lead_len = strlen(lead_string); - /* If this line is too long, try to wrap it to the next line * to make it short enough. */ break_pos = break_line(openfile->current->data + lead_len,