1
1
* 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
Этот коммит содержится в:
Chris Allegretta 2009-09-15 04:51:09 +00:00
родитель 1f218fa859
Коммит d233e7e240
3 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -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.

Просмотреть файл

@ -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

Просмотреть файл

@ -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. */