scrolling: don't put the last line at the bottom when softwrap in on
This avoids https://savannah.gnu.org/bugs/?49298.master
parent
8041627cc3
commit
d716809228
|
@ -942,7 +942,7 @@ void do_gotolinecolumn(ssize_t line, ssize_t column, bool use_answer,
|
||||||
openfile->placewewant = column - 1;
|
openfile->placewewant = column - 1;
|
||||||
|
|
||||||
/* When the position was manually given, center the target line. */
|
/* When the position was manually given, center the target line. */
|
||||||
if (interactive) {
|
if (interactive || ISSET(SOFTWRAP)) {
|
||||||
edit_update(CENTERING);
|
edit_update(CENTERING);
|
||||||
edit_refresh();
|
edit_refresh();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue