diff --git a/ChangeLog b/ChangeLog index 4bb9ec1e0ee0a8de9381791ad1bae93fd4522cea..c55a2c4bb17f31e1993cbfbc868b0b6c571d5da9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> * global.c (first_sc_for) - Return raw keystrokes last, so they will not be displayed if there are F-key or Meta keys diff --git a/src/move.c b/src/move.c index 542c9bb560c64efe0e7487eaf05ce514afce71f6..c87872ea2f8a8c080c83e348dbb1a41469e3cb2d 100644 --- a/src/move.c +++ b/src/move.c @@ -564,7 +564,7 @@ void do_down( ) { #ifndef NANO_TINY - int amount, enough = 0; + int amount = 0, enough; filestruct *topline; #endif