diff options
author | nicm <nicm> | 2019-04-25 18:18:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-04-25 18:18:55 +0000 |
commit | 32a81e197bce3b16113c7603a766773c1a5cdcaf (patch) | |
tree | 64a3819ff876c804c171a01e6444fda3dc7ff465 /tmux.h | |
parent | 1677bb0deaa0e5c3e962e36ce98076b0db8507f6 (diff) | |
download | rtmux-32a81e197bce3b16113c7603a766773c1a5cdcaf.tar.gz rtmux-32a81e197bce3b16113c7603a766773c1a5cdcaf.tar.bz2 rtmux-32a81e197bce3b16113c7603a766773c1a5cdcaf.zip |
Make options_tostring allocate its result instead of using a stack
buffer (needed for something in the future).
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1742,7 +1742,7 @@ u_int options_array_item_index(struct options_array_item *); union options_value *options_array_item_value(struct options_array_item *); int options_isarray(struct options_entry *); int options_isstring(struct options_entry *); -const char *options_tostring(struct options_entry *, int, int); +char *options_tostring(struct options_entry *, int, int); char *options_parse(const char *, int *); struct options_entry *options_parse_get(struct options *, const char *, int *, int); |