mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Style/add printflike.
This commit is contained in:
parent
8542a97b78
commit
c5c4cc7557
@ -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>
|
* 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);
|
screen_write_stop(&ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void printflike2
|
||||||
window_more_add(struct window_pane *wp, const char *fmt, ...)
|
window_more_add(struct window_pane *wp, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list ap;
|
va_list ap;
|
||||||
@ -165,7 +165,8 @@ window_more_key(struct window_pane *wp, unused struct client *c, int key)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
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 window_more_mode_data *data = wp->modedata;
|
||||||
struct screen *s = &data->screen;
|
struct screen *s = &data->screen;
|
||||||
|
Loading…
Reference in New Issue
Block a user