mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Clear cell entry with grid_default_entry not grid_default_cell.
This commit is contained in:
parent
fb109ae97d
commit
e0e9a54a32
2
grid.c
2
grid.c
@ -90,7 +90,7 @@ grid_clear_cell(struct grid *gd, u_int px, u_int py, u_int bg)
|
||||
struct grid_cell_entry *gce = &gl->celldata[px];
|
||||
struct grid_cell *gc;
|
||||
|
||||
memcpy(gce, &grid_default_cell, sizeof *gce);
|
||||
memcpy(gce, &grid_default_entry, sizeof *gce);
|
||||
if (bg & COLOUR_FLAG_RGB) {
|
||||
gc = grid_extended_cell(gl, gce, &grid_default_cell);
|
||||
gc->bg = bg;
|
||||
|
Loading…
Reference in New Issue
Block a user