mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add -t to source-file, GitHub issue 3473.
This commit is contained in:
		@@ -237,8 +237,10 @@ cmdq_link_state(struct cmdq_state *state)
 | 
			
		||||
 | 
			
		||||
/* Make a copy of a state. */
 | 
			
		||||
struct cmdq_state *
 | 
			
		||||
cmdq_copy_state(struct cmdq_state *state)
 | 
			
		||||
cmdq_copy_state(struct cmdq_state *state, struct cmd_find_state *current)
 | 
			
		||||
{
 | 
			
		||||
	if (current != NULL)
 | 
			
		||||
		return (cmdq_new_state(current, &state->event, state->flags));
 | 
			
		||||
	return (cmdq_new_state(&state->current, &state->event, state->flags));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user