mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Style/add printflike.
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: window-more.c,v 1.24 2009-01-11 23:31:46 nicm Exp $ */
 | 
			
		||||
/* $Id: window-more.c,v 1.25 2009-01-15 00:51:39 nicm Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -72,7 +72,7 @@ window_more_vadd(struct window_pane *wp, const char *fmt, va_list ap)
 | 
			
		||||
	screen_write_stop(&ctx);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
void printflike2
 | 
			
		||||
window_more_add(struct window_pane *wp, const char *fmt, ...)
 | 
			
		||||
{
 | 
			
		||||
	va_list	ap;
 | 
			
		||||
@@ -165,7 +165,8 @@ window_more_key(struct window_pane *wp, unused struct client *c, int key)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
window_more_write_line(struct window_pane *wp, struct screen_write_ctx *ctx, u_int py)
 | 
			
		||||
window_more_write_line(
 | 
			
		||||
    struct window_pane *wp, struct screen_write_ctx *ctx, u_int py)
 | 
			
		||||
{
 | 
			
		||||
	struct window_more_mode_data	*data = wp->modedata;
 | 
			
		||||
	struct screen			*s = &data->screen;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user