mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Sync OpenBSD patchset 1002:
Add some const and fix a warning.
This commit is contained in:
		
							
								
								
									
										4
									
								
								cmd.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								cmd.c
									
									
									
									
									
								
							@@ -1214,10 +1214,10 @@ cmd_template_replace(char *template, const char *s, int idx)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Return the default path for a new pane. */
 | 
			
		||||
char *
 | 
			
		||||
const char *
 | 
			
		||||
cmd_get_default_path(struct cmd_ctx *ctx)
 | 
			
		||||
{
 | 
			
		||||
	char			*cwd;
 | 
			
		||||
	const char		*cwd;
 | 
			
		||||
	struct session		*s;
 | 
			
		||||
	struct window_pane	*wp;
 | 
			
		||||
	struct environ_entry	*envent;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user