Commit 1456a10a authored by Chris Allegretta's avatar Chris Allegretta
Browse files

2010-01-28 Chris Allegretta <chrisa@asty.org>

        * move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cusor
          position.  Part one of fix for Savannah bug 21178 by Mike Frysinger.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 8ff7f33c
Showing with 5 additions and 2 deletions
+5 -2
2010-01-28 Chris Allegretta <chrisa@asty.org>
* move.c (do_page_up, do_page_down): Fix for smooth mode not preserving cusor
position. Part one of fix for Savannah bug 21178 by Mike Frysinger.
GNU nano 2.2.2 - 2010.01.17
2010-01-17 Chris Allegretta <chrisa@asty.org> 2010-01-17 Chris Allegretta <chrisa@asty.org>
* nano.c (main), prompt.c (do_statusbar_input): Handle problems with an unmapped * nano.c (main), prompt.c (do_statusbar_input): Handle problems with an unmapped
function due to key rebinding, fixes crashes on FreeBSD repoted by Eitan function due to key rebinding, fixes crashes on FreeBSD repoted by Eitan
......
...@@ -93,7 +93,6 @@ openfile->current->lineno, strlenpt(openfile->current->data)); ...@@ -93,7 +93,6 @@ openfile->current->lineno, strlenpt(openfile->current->data));
#endif #endif
/* Scroll the edit window up a page. */ /* Scroll the edit window up a page. */
openfile->current_y = 0;
edit_update(NONE); edit_update(NONE);
} }
...@@ -135,7 +134,6 @@ void do_page_down(void) ...@@ -135,7 +134,6 @@ void do_page_down(void)
openfile->placewewant); openfile->placewewant);
/* Scroll the edit window down a page. */ /* Scroll the edit window down a page. */
openfile->current_y = 0;
edit_update(NONE); edit_update(NONE);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment