diff --git a/grid.c b/grid.c index 9619c4fe..dbb4fe64 100644 --- a/grid.c +++ b/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;