From 24cba5907b5006363ac7f83f31801153f9c23b37 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 12 Jan 2017 15:36:35 +0000 Subject: Simplify appending to string options. --- tmux.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 24c8dd11..fa157a1c 100644 --- a/tmux.h +++ b/tmux.h @@ -1627,14 +1627,14 @@ struct options_entry *options_next(struct options_entry *); struct options_entry *options_find1(struct options *, const char *); struct options_entry *options_find(struct options *, const char *); void options_remove(struct options *, const char *); -struct options_entry *printflike(3, 4) options_set_string(struct options *, - const char *, const char *, ...); +struct options_entry * printflike(4, 5) options_set_string(struct options *, + const char *, int, const char *, ...); char *options_get_string(struct options *, const char *); struct options_entry *options_set_number(struct options *, const char *, long long); long long options_get_number(struct options *, const char *); -struct options_entry *options_set_style(struct options *, const char *, - const char *, int); +struct options_entry *options_set_style(struct options *, const char *, int, + const char *); struct grid_cell *options_get_style(struct options *, const char *); /* options-table.c */ -- cgit