diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-26 21:38:41 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-29 18:34:04 -0500 |
commit | be4165308f072c499a1bdbf8af36a865ec29b43f (patch) | |
tree | 2c77c524a9d15d2b48c1167c8c26271f3a66fdaa | |
parent | 1d3d84fe818efaf47d8f818fcc44368d144443a1 (diff) | |
download | rneovim-be4165308f072c499a1bdbf8af36a865ec29b43f.tar.gz rneovim-be4165308f072c499a1bdbf8af36a865ec29b43f.tar.bz2 rneovim-be4165308f072c499a1bdbf8af36a865ec29b43f.zip |
screen: fix pvs/v1048
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index bfb256a0ad..0612575e67 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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) { |