Commit 3278f839 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
parent f7c68cd1
Showing with 5 additions and 1 deletion
+5 -1
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
......
......@@ -564,7 +564,7 @@ void do_down(
)
{
#ifndef NANO_TINY
int amount, enough = 0;
int amount = 0, enough;
filestruct *topline;
#endif
......
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