tweaks: elide an unneeded and shadowing variable
parent
b9de5525c4
commit
c88a2fd9ca
|
@ -840,11 +840,10 @@ void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer,
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
if (ISSET(SOFTWRAP)) {
|
if (ISSET(SOFTWRAP)) {
|
||||||
filestruct *line = openfile->current;
|
|
||||||
size_t leftedge = leftedge_for(xplustabs(), openfile->current);
|
size_t leftedge = leftedge_for(xplustabs(), openfile->current);
|
||||||
|
|
||||||
rows_from_tail = (editwinrows / 2) -
|
rows_from_tail = (editwinrows / 2) - go_forward_chunks(
|
||||||
go_forward_chunks(editwinrows / 2, &line, &leftedge);
|
editwinrows / 2, &openfile->current, &leftedge);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
rows_from_tail = openfile->filebot->lineno -
|
rows_from_tail = openfile->filebot->lineno -
|
||||||
|
|
Loading…
Reference in New Issue