Commit fc48347f authored by Chris Allegretta's avatar Chris Allegretta
Browse files

2009-11-15 Chris Allegretta <chrisa@asty.org>

        * winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling
          is enabled.  Fixes Savannah bug 28024 by Mike Frysinger.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4427 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
2009-11-15 Chris Allegretta <chrisa@asty.org>
* winio.c (edit_refresh): Always computer maxsize regardless of whether smooth scrolling
is enabled. Fixes Savannah bug 28024 by Mike Frysinger.
GNU nano 2.1.99pre1 - 2009.11.15
2009-11-14 Chris Allegretta <chrisa@asty.org>
* move.c (do_first_line, do_last_line): Just set edit_refresh_needed rather than
......
......@@ -3224,7 +3224,7 @@ void edit_refresh(void)
int nlines;
/* Figure out what maxrows should really be */
if (ISSET(SOFTWRAP) && openfile->current->lineno > openfile->edittop->lineno)
if (openfile->current->lineno > openfile->edittop->lineno)
compute_maxrows();
if (openfile->current->lineno < openfile->edittop->lineno ||
......
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