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:
		
							
								
								
									
										7
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								format.c
									
									
									
									
									
								
							@@ -1128,11 +1128,10 @@ format_find(struct format_tree *ft, const char *key, int modifiers)
 | 
				
			|||||||
			xasprintf(&found, "%lld", (long long)fe->t);
 | 
								xasprintf(&found, "%lld", (long long)fe->t);
 | 
				
			||||||
			goto found;
 | 
								goto found;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		if (fe->value == NULL && fe->cb != NULL) {
 | 
							if (fe->value == NULL && fe->cb != NULL)
 | 
				
			||||||
			fe->cb(ft, fe);
 | 
								fe->cb(ft, fe);
 | 
				
			||||||
			if (fe->value == NULL)
 | 
							if (fe->value == NULL)
 | 
				
			||||||
				fe->value = xstrdup("");
 | 
								fe->value = xstrdup("");
 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		found = xstrdup(fe->value);
 | 
							found = xstrdup(fe->value);
 | 
				
			||||||
		goto found;
 | 
							goto found;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user