mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	Make it compile on the portable version.
This commit is contained in:
		
							
								
								
									
										4
									
								
								names.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								names.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: names.c,v 1.18 2009-11-08 23:22:24 tcunha Exp $ */
 | 
			
		||||
/* $Id: names.c,v 1.19 2009-11-08 23:23:36 tcunha Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -54,7 +54,7 @@ window_name_callback(unused int fd, unused short events, void *data)
 | 
			
		||||
	if (w->active->screen != &w->active->base)
 | 
			
		||||
		name = NULL;
 | 
			
		||||
	else
 | 
			
		||||
		name = get_proc_name(w->active->fd, w->active->tty);
 | 
			
		||||
		name = osdep_get_name(w->active->fd, w->active->tty);
 | 
			
		||||
	if (name == NULL)
 | 
			
		||||
		wname = default_window_name(w);
 | 
			
		||||
	else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user