mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Actually use the copy made when no newline is found, from martynas@.
This commit is contained in:
		
							
								
								
									
										7
									
								
								status.c
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								status.c
									
									
									
									
									
								
							@@ -550,10 +550,11 @@ status_job_callback(struct job *job)
 | 
			
		||||
		xfree(job->data);
 | 
			
		||||
	else
 | 
			
		||||
		server_redraw_client(job->client);
 | 
			
		||||
	job->data = xstrdup(line);
 | 
			
		||||
 | 
			
		||||
	if (buf != NULL)
 | 
			
		||||
		xfree(buf);
 | 
			
		||||
	if (line == NULL)
 | 
			
		||||
		job->data = buf;
 | 
			
		||||
	else
 | 
			
		||||
		job->data = xstrdup(line);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calculate winlink status line entry width. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user