Initializing the correct variable to zero, to avoid jumpy scrolling.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4643 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2014-03-05 09:47:35 +00:00
parent f7c68cd143
commit 3278f839c1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-03-05 Benno Schulenberg <bensberg@justemail.net>
* src/move.c (do_down) - Initialize the correct variable to zero.
Solves jumpy scrolling behaviour reported by Chris Allegretta .
2014-03-04 Chris Allegretta <chrisa@asty.org> 2014-03-04 Chris Allegretta <chrisa@asty.org>
* global.c (first_sc_for) - Return raw keystrokes last, so * global.c (first_sc_for) - Return raw keystrokes last, so
they will not be displayed if there are F-key or Meta keys they will not be displayed if there are F-key or Meta keys

View File

@ -564,7 +564,7 @@ void do_down(
) )
{ {
#ifndef NANO_TINY #ifndef NANO_TINY
int amount, enough = 0; int amount = 0, enough;
filestruct *topline; filestruct *topline;
#endif #endif