display: when linenumbering, correctly spotlight text that spans two rows

This fixes https://savannah.gnu.org/bugs/?56552.

Bug existed since line numbers were introduced, in version 2.7.1.
master
Benno Schulenberg 2019-06-26 11:18:02 +02:00
parent fcbe41942f
commit 8cd6aa0a32
1 changed files with 1 additions and 1 deletions

View File

@ -3522,7 +3522,7 @@ void spotlight_softwrapped(size_t from_col, size_t to_col)
if (end_of_line)
break;
wmove(edit, ++row, 0);
wmove(edit, ++row, margin);
leftedge = break_col;
from_col = break_col;