fix(plines.c): initialize cts_max_head_vcol (#24855)

This commit is contained in:
zeertzjq 2023-08-24 11:46:07 +08:00 committed by GitHub
parent a9418ef8cf
commit cbadb39d16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,6 +319,7 @@ void init_chartabsize_arg(chartabsize_T *cts, win_T *wp, linenr_T lnum, colnr_T
cts->cts_vcol = col;
cts->cts_line = line;
cts->cts_ptr = ptr;
cts->cts_max_head_vcol = 0;
cts->cts_cur_text_width_left = 0;
cts->cts_cur_text_width_right = 0;
cts->cts_has_virt_text = false;