mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Style nits and a missing cast.
This commit is contained in:
		@@ -192,7 +192,7 @@ cmd_command_prompt_callback(void *data, const char *s, int done)
 | 
			
		||||
 | 
			
		||||
	if (!done)
 | 
			
		||||
		free(new_template);
 | 
			
		||||
	if (c->prompt_callbackfn != (void *)&cmd_command_prompt_callback)
 | 
			
		||||
	if (c->prompt_callbackfn != cmd_command_prompt_callback)
 | 
			
		||||
		return (1);
 | 
			
		||||
	return (0);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								grid.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								grid.c
									
									
									
									
									
								
							@@ -89,7 +89,7 @@ grid_need_extended_cell(const struct grid_cell_entry *gce,
 | 
			
		||||
		return (1);
 | 
			
		||||
	if (gc->data.size != 1 || gc->data.width != 1)
 | 
			
		||||
		return (1);
 | 
			
		||||
	if ((gc->fg & COLOUR_FLAG_RGB) ||(gc->bg & COLOUR_FLAG_RGB))
 | 
			
		||||
	if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB))
 | 
			
		||||
		return (1);
 | 
			
		||||
	return (0);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user