mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Use the message that has already been built rather than the va_list.
This commit is contained in:
		@@ -512,7 +512,7 @@ cmdq_print(struct cmdq_item *item, const char *fmt, ...)
 | 
			
		||||
		wme = TAILQ_FIRST(&wp->modes);
 | 
			
		||||
		if (wme == NULL || wme->mode != &window_view_mode)
 | 
			
		||||
			window_pane_set_mode(wp, &window_view_mode, NULL, NULL);
 | 
			
		||||
		window_copy_vadd(wp, fmt, ap);
 | 
			
		||||
		window_copy_add(wp, "%s", msg);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	free(msg);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user