mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
render: ensure ‘cell_cols’ have been initialized
This commit is contained in:
parent
50be924285
commit
b471fe31b1
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -507,7 +507,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
|
||||||
unsigned glyph_count = 0;
|
unsigned glyph_count = 0;
|
||||||
|
|
||||||
wchar_t base = cell->wc;
|
wchar_t base = cell->wc;
|
||||||
int cell_cols;
|
int cell_cols = 1;
|
||||||
|
|
||||||
if (base != 0) {
|
if (base != 0) {
|
||||||
if (unlikely(
|
if (unlikely(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue