mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Make options_get_string return const string.
This commit is contained in:
		@@ -35,9 +35,9 @@ static void		 server_destroy_session_group(struct session *);
 | 
			
		||||
void
 | 
			
		||||
server_fill_environ(struct session *s, struct environ *env)
 | 
			
		||||
{
 | 
			
		||||
	char	*term;
 | 
			
		||||
	u_int	 idx;
 | 
			
		||||
	long	 pid;
 | 
			
		||||
	const char	*term;
 | 
			
		||||
	u_int		 idx;
 | 
			
		||||
	long		 pid;
 | 
			
		||||
 | 
			
		||||
	if (s != NULL) {
 | 
			
		||||
		term = options_get_string(global_options, "default-terminal");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user