When a flag option is used in a format, it should use the number form

not string.
This commit is contained in:
nicm
2017-01-30 21:41:17 +00:00
parent b6099f31ea
commit 3408595f77
4 changed files with 8 additions and 5 deletions

View File

@ -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;
}
}