commit d233e7e24042eaa009a2c12e422ba2075568d1db
parent 1f218fa859a869baad3d646cd708114c3c717c51
Author: Chris Allegretta <chrisa@asty.org>
Date: Tue, 15 Sep 2009 04:51:09 +0000
back to svn, and:
* winio.c: Clean up some unused variables from the soft wrapping code.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4413 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+2009-09-15 Chris Allegretta <chrisa@asty.org>
+ * winio.c: Clean up some unused variables from the soft wrapping code.
+
GNU nano 2.1.11 - 2009.09.14
2009-09-12 Chris Allegretta <chrisa@asty.org>
* winio.c (edit_update) - properly update edittop when using soft wrapping.
diff --git a/configure.ac b/configure.ac
@@ -20,7 +20,7 @@
#
# $Id$
-AC_INIT([GNU nano], [2.1.11], [nano-devel@gnu.org], [nano])
+AC_INIT([GNU nano], [2.1.11-svn], [nano-devel@gnu.org], [nano])
AC_CONFIG_SRCDIR([src/nano.c])
AC_CANONICAL_TARGET([])
AM_INIT_AUTOMAKE
diff --git a/src/winio.c b/src/winio.c
@@ -2849,7 +2849,7 @@ int update_line(filestruct *fileptr, size_t index)
line = fileptr->lineno - openfile->edittop->lineno;
if (line < 0 || line >= editwinrows)
- return;
+ return 1;
/* First, blank out the line. */
blank_line(edit, line, 0, COLS);
@@ -3076,7 +3076,6 @@ void edit_redraw(filestruct *old_current, size_t pww_save)
bool do_redraw = need_vertical_update(0) ||
need_vertical_update(pww_save);
filestruct *foo = NULL;
- ssize_t i = 0, extracuzsoft = 0;
/* If either old_current or current is offscreen, scroll the edit
* window until it's onscreen and get out. */