Clear cell entry with grid_default_entry not grid_default_cell.

This commit is contained in:
nicm 2016-10-18 19:52:49 +00:00
parent fb109ae97d
commit e0e9a54a32

2
grid.c
View File

@ -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;