diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:18:18 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-06-05 12:49:27 -0400 |
commit | 3d120b1c181a7cc2d3b7ba9ce01651942104a02c (patch) | |
tree | 97b9d7f9f57dd5bbac0db61ee90283a46e10e69b /src | |
parent | 607d1cc80dc8c559684822ba2d35bb71f634aafa (diff) | |
download | rneovim-3d120b1c181a7cc2d3b7ba9ce01651942104a02c.tar.gz rneovim-3d120b1c181a7cc2d3b7ba9ce01651942104a02c.tar.bz2 rneovim-3d120b1c181a7cc2d3b7ba9ce01651942104a02c.zip |
screen: pvs/v614
win_col_offset must be 0 to be no-opt
when passed to col_off param of draw_virt_text().
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 90ac4ac7aa..844104e7d0 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2101,7 +2101,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool search_attr_from_match = false; // if search_attr is from :match bool has_decor = false; // this buffer has decoration bool do_virttext = false; // draw virtual text for this line - int win_col_offset; // offsett for window columns + int win_col_offset = 0; // offset for window columns char_u buf_fold[FOLD_TEXT_LEN + 1]; // Hold value returned by get_foldtext |