commit 34e086f038e86df69f3fbc29b3559e5d7c4c63bc parent f2ac20114ee3fbe9b35b6293c23a7cf86773920e Author: David Lawrence Ramsey <pooka109@gmail.com> Date: Thu, 19 Jan 2017 01:15:43 -0600 tweaks: rename a variable in edit_redraw(), to make sense Diffstat:
M | src/winio.c | | | 10 | +++++----- |
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/winio.c b/src/winio.c @@ -2894,13 +2894,13 @@ void edit_redraw(filestruct *old_current) #ifndef NANO_TINY /* If the mark is on, update all lines between old_current and current. */ if (openfile->mark_set) { - filestruct *foo = old_current; + filestruct *line = old_current; - while (foo != openfile->current) { - update_line(foo, 0); + while (line != openfile->current) { + update_line(line, 0); - foo = (foo->lineno > openfile->current->lineno) ? - foo->prev : foo->next; + line = (line->lineno > openfile->current->lineno) ? + line->prev : line->next; } } else #endif