diff options
author | nicm <nicm> | 2017-01-12 15:36:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-12 15:36:35 +0000 |
commit | 24cba5907b5006363ac7f83f31801153f9c23b37 (patch) | |
tree | 9d6522e1a90ed7446f30231344077f1bbde03931 /tmux.h | |
parent | dad3090d3201bd8272cb762beea8ef3aa8ce9673 (diff) | |
download | rtmux-24cba5907b5006363ac7f83f31801153f9c23b37.tar.gz rtmux-24cba5907b5006363ac7f83f31801153f9c23b37.tar.bz2 rtmux-24cba5907b5006363ac7f83f31801153f9c23b37.zip |
Simplify appending to string options.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 */ |