mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Merge branch 'obsd-master'
This commit is contained in:
		
							
								
								
									
										4
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								format.c
									
									
									
									
									
								
							@@ -1102,8 +1102,10 @@ format_replace(struct format_tree *ft, const char *key, size_t keylen,
 | 
			
		||||
				found = xstrdup("");
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		if (format_choose(ptr + 1, &left, &right) != 0)
 | 
			
		||||
		if (format_choose(ptr + 1, &left, &right) != 0) {
 | 
			
		||||
			free(found);
 | 
			
		||||
			goto fail;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (format_true(found))
 | 
			
		||||
			value = format_expand(ft, left);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user