mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Merge branch 'fix-clang-warning' of https://github.com/Luflosi/kitty
This commit is contained in:
@@ -64,7 +64,7 @@ left_shift_line(Line *line, index_type at, index_type num) {
|
||||
COPY_CELL(line, i + num, line, i);
|
||||
}
|
||||
const CellAttrs empty = {.width=1};
|
||||
const CellAttrs zero = {0};
|
||||
const CellAttrs zero = {{0}};
|
||||
if (at < line->xnum && line->gpu_cells[at].attrs.width != 1) {
|
||||
line->cpu_cells[at].ch = BLANK_CHAR;
|
||||
line->cpu_cells[at].hyperlink_id = 0;
|
||||
|
||||
Reference in New Issue
Block a user