mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Minor bits: fix an array size, add comment, make grid_cell_entry static.
This commit is contained in:
		
							
								
								
									
										2
									
								
								grid.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								grid.c
									
									
									
									
									
								
							@@ -39,7 +39,7 @@
 | 
				
			|||||||
const struct grid_cell grid_default_cell = {
 | 
					const struct grid_cell grid_default_cell = {
 | 
				
			||||||
	0, 0, 8, 8, { { ' ' }, 0, 1, 1 }
 | 
						0, 0, 8, 8, { { ' ' }, 0, 1, 1 }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
const struct grid_cell_entry grid_default_entry = {
 | 
					static const struct grid_cell_entry grid_default_entry = {
 | 
				
			||||||
	0, { .data = { 0, 8, 8, ' ' } }
 | 
						0, { .data = { 0, 8, 8, ' ' } }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -232,7 +232,7 @@ key_string_lookup_string(const char *string)
 | 
				
			|||||||
const char *
 | 
					const char *
 | 
				
			||||||
key_string_lookup_key(key_code key)
 | 
					key_string_lookup_key(key_code key)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	static char		out[24];
 | 
						static char		out[32];
 | 
				
			||||||
	char			tmp[8];
 | 
						char			tmp[8];
 | 
				
			||||||
	u_int			i;
 | 
						u_int			i;
 | 
				
			||||||
	struct utf8_data	ud;
 | 
						struct utf8_data	ud;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user