screen: fix pvs/v1048

This commit is contained in:
Jan Edmund Lazo
2019-12-26 21:38:41 -05:00
parent 1d3d84fe81
commit be4165308f

View File

@@ -2445,8 +2445,6 @@ win_line (
pos.lnum = lnum;
pos.col = search_match_endcol;
getvcol(curwin, &pos, (colnr_T *)&tocol, NULL, NULL);
} else {
tocol = MAXCOL;
}
// do at least one character; happens when past end of line
if (fromcol == tocol) {