aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-30 21:41:17 +0000
committernicm <nicm>2017-01-30 21:41:17 +0000
commit3408595f77920764bf6c4c313a0abc6a1cfb8048 (patch)
tree1e2c21925847bd18641b589ea4028c78187a0212 /format.c
parentb6099f31ead647749574c36b34619db940587fc7 (diff)
downloadrtmux-3408595f77920764bf6c4c313a0abc6a1cfb8048.tar.gz
rtmux-3408595f77920764bf6c4c313a0abc6a1cfb8048.tar.bz2
rtmux-3408595f77920764bf6c4c313a0abc6a1cfb8048.zip
When a flag option is used in a format, it should use the number form
not string.
Diffstat (limited to 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index 3a809435..cc23387a 100644
--- a/format.c
+++ b/format.c
@@ -638,7 +638,7 @@ format_find(struct format_tree *ft, const char *key, int modifiers)
if (o == NULL)
o = options_parse_get(global_s_options, key, &idx, 0);
if (o != NULL) {
- found = options_tostring(o, idx);
+ found = options_tostring(o, idx, 1);
goto found;
}
}