screen: pvs/v614

win_col_offset must be 0 to be no-opt
when passed to col_off param of draw_virt_text().
This commit is contained in:
Jan Edmund Lazo
2021-06-05 12:18:18 -04:00
parent 607d1cc80d
commit 3d120b1c18

View File

@@ -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 search_attr_from_match = false; // if search_attr is from :match
bool has_decor = false; // this buffer has decoration bool has_decor = false; // this buffer has decoration
bool do_virttext = false; // draw virtual text for this line 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 char_u buf_fold[FOLD_TEXT_LEN + 1]; // Hold value returned by get_foldtext