Commit bd6e9685 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

redundancy fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3569 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
......@@ -2866,12 +2866,12 @@ void edit_redraw(const filestruct *old_current, size_t old_pww)
#ifndef NANO_TINY
/* If the mark is on, update all the lines between the old last
* line of the edit window and current. */
* line of the edit window and edittop. */
if (openfile->mark_set) {
while (foo != openfile->current) {
while (foo != openfile->edittop) {
update_line(foo, 0);
foo = (foo->lineno > openfile->current->lineno) ?
foo = (foo->lineno > openfile->edittop->lineno) ?
foo->prev : foo->next;
}
}
......
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