mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Clear cell entry with grid_default_entry not grid_default_cell.
This commit is contained in:
		
							
								
								
									
										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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user