mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Merge branch 'obsd-master' into master
This commit is contained in:
		
							
								
								
									
										5
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								format.c
									
									
									
									
									
								
							@@ -1368,8 +1368,11 @@ format_cb_client_termname(struct format_tree *ft)
 | 
				
			|||||||
static void *
 | 
					static void *
 | 
				
			||||||
format_cb_client_termtype(struct format_tree *ft)
 | 
					format_cb_client_termtype(struct format_tree *ft)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	if (ft->c != NULL)
 | 
						if (ft->c != NULL) {
 | 
				
			||||||
 | 
							if (ft->c->term_type == NULL)
 | 
				
			||||||
 | 
								return (xstrdup(""));
 | 
				
			||||||
		return (xstrdup(ft->c->term_type));
 | 
							return (xstrdup(ft->c->term_type));
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
	return (NULL);
 | 
						return (NULL);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user