diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-30 21:41:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-01-30 21:41:18 +0000 |
commit | 6127ed20408f93f972c67ecf5f5150dd01b6d1eb (patch) | |
tree | b415b09ad72d3be91a1be7b1bbfb948bc09ca7ce /usr.bin/tmux/cmd-show-options.c | |
parent | b58e4d89c8d149b25a11c7a80c7f5c2feed20148 (diff) |
When a flag option is used in a format, it should use the number form
not string.
Diffstat (limited to 'usr.bin/tmux/cmd-show-options.c')
-rw-r--r-- | usr.bin/tmux/cmd-show-options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-show-options.c b/usr.bin/tmux/cmd-show-options.c index caca53f911a..0832e970075 100644 --- a/usr.bin/tmux/cmd-show-options.c +++ b/usr.bin/tmux/cmd-show-options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-show-options.c,v 1.39 2017/01/24 19:11:46 nicm Exp $ */ +/* $OpenBSD: cmd-show-options.c,v 1.40 2017/01/30 21:41:17 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -110,7 +110,7 @@ cmd_show_options_print(struct cmd *self, struct cmdq_item *item, name = options_name(o); } - value = options_tostring(o, idx); + value = options_tostring(o, idx, 0); if (args_has(self->args, 'v')) cmdq_print(item, "%s", value); else if (options_isstring(o)) { |