mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-12 18:01:14 +01:00
Fix initialization of tabpos data in boxes.c
This commit is contained in:
parent
e106e1412a
commit
58148de27f
@ -1412,6 +1412,8 @@ static int read_all_input(const int use_stdin)
|
||||
len_chars = u32_strlen(mbtemp);
|
||||
input.final_newline = has_linebreak(mbtemp, len_chars);
|
||||
input.lines[input.anz_lines].posmap = NULL;
|
||||
input.lines[input.anz_lines].tabpos = NULL;
|
||||
input.lines[input.anz_lines].tabpos_len = 0;
|
||||
|
||||
if (opt.r) {
|
||||
if (is_char_at(mbtemp, len_chars - 1, char_newline)) {
|
||||
|
Loading…
Reference in New Issue
Block a user