mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +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); | 		wme = TAILQ_FIRST(&wp->modes); | ||||||
| 		if (wme == NULL || wme->mode != &window_view_mode) | 		if (wme == NULL || wme->mode != &window_view_mode) | ||||||
| 			window_pane_set_mode(wp, &window_view_mode, NULL, NULL); | 			window_pane_set_mode(wp, &window_view_mode, NULL, NULL); | ||||||
| 		window_copy_vadd(wp, fmt, ap); | 		window_copy_add(wp, "%s", msg); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	free(msg); | 	free(msg); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm