nano

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

commit 4b32c62674d5e81df62d54f118a1272445424fc4
parent b4b9e9b0120c25d42f44e74d5eb2650935baf680
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 29 Sep 2018 09:46:05 +0200

tweaks: reshuffle some lines to get standard order (first up, then down)

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

diff --git a/src/text.c b/src/text.c @@ -3287,16 +3287,16 @@ void do_linter(void) else if (func == do_help_void) { tmplint = NULL; do_help_void(); - } else if (func == do_page_down || func == do_next_block) { - if (curlint->next != NULL) - curlint = curlint->next; - else - statusbar(_("At last message")); } else if (func == do_page_up || func == do_prev_block) { if (curlint->prev != NULL) curlint = curlint->prev; else statusbar(_("At first message")); + } else if (func == do_page_down || func == do_next_block) { + if (curlint->next != NULL) + curlint = curlint->next; + else + statusbar(_("At last message")); } }