nano

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

commit a0323de1f7f51209a0de633aa3a1dc62e273d2de
parent 0d471de448eb7241adf03008f3004bb3d632d34f
Author: Chris Allegretta <chrisa@asty.org>
Date:   Thu, 15 Mar 2001 21:14:32 +0000

Roll-back previous change, this way copies Pico's (strange) behavior


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@565 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 1-
Mmove.c | 2+-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -8,7 +8,6 @@ CVS code - page_down() - Check for totlines < editwinrows in check for superflous edit update (fixed BUG #57). - - Oops, check for <= editwinrows (Ryan Krebs). - search.c: print_replaced() - s/occurence/occurrence typos (Jordi). diff --git a/move.c b/move.c @@ -57,7 +57,7 @@ int page_down(void) /* AHEM, if we only have a screen or less of text, DONT do an edit_update, just move the cursor to editbot! */ - if (edittop == fileage && editbot == filebot && totlines <= editwinrows) { + if (edittop == fileage && editbot == filebot && totlines < editwinrows) { current = editbot; reset_cursor(); } else if (editbot != filebot || edittop == fileage) {